Title: Possibility to get a DataGrid filter rows Post by: Shatki on February 04, 2020, 02:36:53 PM Hello!
Is there a way to get all showed rows after applied a DataGrid filtering? Like a sampled this: https://www.jeasyui.com/demo-react/main/index.php?plugin=DataGrid&theme=metro-blue&dir=ltr&pitem=&sort=asc Thanks! Title: Re: Possibility to get a DataGrid filter rows Post by: chrwei on February 05, 2020, 09:31:01 AM closest I've found is to use the onFilterChange event
Title: Re: Possibility to get a DataGrid filter rows Post by: Shatki on February 05, 2020, 10:41:01 PM closest I've found is to use the onFilterChange event I tried it but to no availI did it like this: Code:
But maybe possible to make it more simple? Title: Re: Possibility to get a DataGrid filter rows Post by: chrwei on February 06, 2020, 07:30:43 AM what did you try? I don't see any onFilterChange there.
Title: Re: Possibility to get a DataGrid filter rows Post by: Shatki on February 06, 2020, 09:41:22 AM what did you try? I don't see any onFilterChange there. Earlier I had shown only checked worked codeEvent onFilterChange give us a filterRules what we changed. I don't understand how it will help us Thanks Title: Re: Possibility to get a DataGrid filter rows Post by: chrwei on February 10, 2020, 08:48:36 AM apply the filters yourself?
it would be great if that change event also gave a reference to the filtered list object, but it's not that hard to run it yourself |