Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server side filtering and sorting #84

Closed
msuntharesan opened this issue Apr 21, 2015 · 3 comments
Closed

Server side filtering and sorting #84

msuntharesan opened this issue Apr 21, 2015 · 3 comments

Comments

@msuntharesan
Copy link

Is there a way to achieve this? I'm thinking the getRows function in the datasource can be extended to include the filter and sorting parameters

@ceolter
Copy link
Contributor

ceolter commented Apr 21, 2015

yes that's right, my plan is to do exactly that. there is a chunk of coding i need to get it in, but it's on my list.

@tradiff
Copy link

tradiff commented Apr 27, 2015

Is there any known work-around for this currently?

@ceolter
Copy link
Contributor

ceolter commented Apr 27, 2015

only way currently is to implement this outside of the grid. when a new sort or filter is applied, then call onNewDatasource (you don't have to provide a new one, just pretend to the grid that it has changed). The datasource should then refer to the external sort / filter that was selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants