jQWidgets Forums

jQuery UI Widgets Forums Grid Add row after filtering

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

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • Add row after filtering #71728

    aser
    Participant

    $(Grid).jqxGrid(‘addrow’, null, currentRow, ‘first’);
    Hi, I’m trying add row after grid filtering and getting strange grid behavior, the grid add one row at the top, and replace data of second row to data what presents in currentRow.

    Thanks.

    Add row after filtering #71733

    ivailo
    Participant

    Hi aser,

    We can’t see that kind of behavior. Try to update to the latest version 3.8.0

    Also look at this fiddle, demonstrated the needed functionality.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Add row after filtering #71735

    aser
    Participant

    Nice example, but where is that row in the grid $(“#jqxgrid”).jqxGrid(‘addrow’, null, {firstname: “AAA”}, “first”);?

    Add row after filtering #71739

    ivailo
    Participant

    Hi aser,

    The row is at “first” position. Clear the filter and you’ll see it at the top of the grid.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Add row after filtering #71743

    aser
    Participant

    Hah, I need to add row, after filtering and show it, even if it does not contain filer condition., thats why I try to add it ONLY after filtering.

    Add row after filtering #71771

    ivailo
    Participant

    Hi aser,

    You can add a row, but it will be filtered and if contains the filter conditions then will be shown. This is the normal behavior of the widget.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Add row after filtering #71772

    aser
    Participant

    I’m already find the solution at the backend part, many thanks anyway.

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

You must be logged in to reply to this topic.