jQuery UI Widgets Forums Grid Synchronize nested grid scrolling

This topic contains 2 replies, has 2 voices, and was last updated by  mflach 6 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Synchronize nested grid scrolling #91450

    mflach
    Participant

    I have a nested grid that has the same columns in both the parent and child grid. The parent grid is a summary view and the child grid is a detailed view. Is there anyway to get them to scroll horizontally at the same time?

    Synchronize nested grid scrolling #91472

    Hristo
    Participant

    Hello mflach,

    You could try to use those methods – scrolloffset and scrollposition, could try to create a workaround.
    I would suggest you look at jqxTreeGrid and the possibilities from this.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    • This reply was modified 6 years, 9 months ago by  Hristo.
    Synchronize nested grid scrolling #91831

    mflach
    Participant

    Thanks for the lead. I was able to get this to work with adding this to the child grid definition:

    scrollmode: 'deferred',
    scrollfeedback: function(row)
    {
        var position = detailGrid.jqxGrid('scrollposition');
        var left = position.left;
        var top = position.top;
        $('#jqxgrid').jqxGrid('scrolloffset', top, left);
    },
    
    • This reply was modified 6 years, 9 months ago by  mflach.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.