jQWidgets Forums

jQuery UI Widgets Forums React jqxGrid Filtered Data

This topic contains 2 replies, has 2 voices, and was last updated by  tdoll 5 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • jqxGrid Filtered Data #111966

    tdoll
    Participant

    I am new to using jqxGrid and I am trying to get filtered data from the grid. I can get the whole data set using:

    console.log(myGrid.current?.props.source?.localdata);

    Is there a method I can use to get the filtered data the data set?

    Thanks,

    Terry

    jqxGrid Filtered Data #111971

    Hristo
    Participant

    Hello Terry,

    With the getdisplayrows method you could get the currently loaded records.
    Depends on the filtering, sorting, grouping, and paging it will provide a different results.
    Please, take a look at this example:
    http://jsfiddle.net/aqej13ym/

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

    jqxGrid Filtered Data #111976

    tdoll
    Participant

    Thank you! – this worked:

    myGrid.current!.getdisplayrows()

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

You must be logged in to reply to this topic.