jQWidgets Forums

jQuery UI Widgets Forums Grid Moving to the next row in the grid

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 4 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Moving to the next row in the grid #113444

    ajcs
    Participant

    What is the best way of moving to the next row in the grid?

    I have a button that moves the selection in the grid on to the next row. I can do this if I take into account the visible row index and it works for initial display of data and when the grid is sorted or filtered.

    But when the grid is grouped I cannot work out how to do it.

    So do you have some example code that shows a button that when clicked will move the grid row selection from one row to the next row on the grid reliably no matter if the grid is sorted/filtered/grouped?

    Thanks

    Moving to the next row in the grid #113451

    Hristo
    Participant

    Hello ajcs,

    For selecting I think you use the selectrow method which uses the boundindex value.
    Please, take a look at this example.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.