Mui-datatables: See applied filters when server-side: true

Created on 5 Dec 2019  路  4Comments  路  Source: gregnb/mui-datatables

Maybe I didn't set up it properly, but it seems those bubbles on the top of the table to indicate which filters are applied are only visile when server-side is false

question

All 4 comments

I think I have the same problem, is it related to #1102?

When serverSide is true you need to manually populate the serverSideFilterList to show the filters. See this example: https://github.com/gregnb/mui-datatables/blob/master/examples/serverside-filters/index.js

As an aside, I have a PR https://github.com/gregnb/mui-datatables/pull/1093 in that would make this simplier (ie, no management of an additional filterList - just a function you call to confirm filters if you want to wait before applying filters).

@ff-luis-carrillo - yep, same thing, you currently have to manage the serverSideFilterList when using serverSide: true.

@patorjk I can confirm it is working. Thank you!

Was this page helpful?
0 / 5 - 0 ratings