jQWidgets Forums

jQuery UI Widgets Forums Grid Grid ensurerow visible with paging

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid ensurerow visible with paging #56315

    Gopre400
    Participant

    Does ensurerowvisible work with paging? I have set the selected row that is not visible on first page but the page that the selected row in on is not being displayed.

    I tried putting the method in the ready function of the grid…

    $(“#jqxgrid”).jqxGrid(
    {
    width: ‘100%’,
    source: dataAdapter,
    theme: ‘darkblue’,
    pageable: true,
    autoheight: true,
    sortable: true,
    altrows: true,
    enabletooltips: true,
    showstatusbar: true,
    editable: true,
    groupsrenderer: groupsrenderer,
    groupable: true,
    groupsexpandedbydefault: true,
    closeablegroups: false,
    selectedrowindex: 21,
    editmode: ‘click’,
    selectionmode: ‘singlerow’,
    ready: function () {
    $(“#jqxgrid”).jqxGrid(‘expandallgroups’);
    $(‘#jqxgrid’).jqxGrid(‘ensurerowvisible’, 21);
    },

    Grid ensurerow visible with paging #56325

    Dimitar
    Participant

    Hello Gopre400,

    The property works with paging (example) but not when the rows have been grouped.

    Best Regards,
    Dimitar

    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.