jQuery UI Widgets Forums Grid Virtual scrolling

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 10 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Virtual scrolling #32628

    Jane
    Participant

    Hi,

    I have problem with virtual scrolling. Function rendergridrows is call the second click the scroll arrows but verticalscrollbarstep is set on 1 and scrollmode is set on ‘logical’. Is there any way how to call Function rendergridrows on every click the scroll arrows?

    Thanks

    Jana

    Virtual scrolling #32641

    Dimitar
    Participant

    Hello Jana,

    The property verticalscrollbarstep works with the “default” scrollmode and not with the “logical” one, in which the scrollbar arrow always scrolls a single row. As for rendergridrows, it is called only when there is need to load new rows and not on each move of the scrollbar or click of its arrows.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Virtual scrolling #32715

    Jane
    Participant

    Hello,

    Thanks I set only scrollmode on logical.

    How knows Grid have call rendergridrows? Because sometimes I have empty row at the end of the visible part of the Grid. How is defined range between startindex and endindex in parameters rendergridrows? Is it possible to set the fixed range? Because I have the range 10 in first step and next I have range 15. And I have data from server when the length is always 10.
    It is possible to scroll the scrollbar and have a fixed data in the grid, scrolling will mean select the next row and data in grid changes only when it needed select a row that is no visible? Grid will be set scrollmode on ‘logical’.

    Thanks
    Jana

    Virtual scrolling #32837

    Dimitar
    Participant

    Hi Jana,

    The startindex and endindex parameters are set by the grid automatically.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.