jQWidgets Forums

jQuery UI Widgets Forums Grid ensure row visible doesn't work with grouping

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 5 months ago.

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

  • dpibt
    Participant

    Hello,

    I’m selecting consecutive rows programatically when pressing enter. When the selected row is the last one visible, I want that when I select the next one, grid scrolls to show the new selected row.

    To achieve this I found the method

    $('#jqxGrid').jqxGrid('ensurerowvisible', rowIndex);

    wich works fine without grouping, but when I group the data by column, this function doesn’t scroll data to see new row.

    (jQWidgets v3.0.4 (2013-Nov-01))


    Peter Stoev
    Keymaster

    Hi dpibt,

    ‘ensurerowvisible’ cannot ensure that a row within a Group is visible due to the reason that a group could be collapsed or not and in addition, the method works only with bound indexes, not visible indexes.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.