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

Disable client side filtering when using remote filtering #5586

Closed
Lightw3ight opened this issue Aug 5, 2019 · 1 comment
Closed

Disable client side filtering when using remote filtering #5586

Lightw3ight opened this issue Aug 5, 2019 · 1 comment

Comments

@Lightw3ight
Copy link

Is your feature request related to a problem? Please describe.

Currently when trying to achieve remote filtering, client side filtering also runs on the data that is currently displayed before the remote data can be returned.
What this means is that if you enter a filter that does not match any items in the client side data, the grid will display a No records found message until the remote call completes and loads the new data into the grid.

You can see this in action if you go to the remote filtering and sorting demo and type in the letter z into the filter field for the ProductName column.

Describe the solution you'd like

I would like a way to disable client filtering / sorting so it doesn't filter/sort the client data while server side data is being loaded
[disableClientFiltering]="true" and [disableClientSorting]="true"

Describe alternatives you've considered

I thought I could just set [isLoading]="true" on the grid to show the loading template while I am fetching data, but this does not work when there is a filter active
I will be adding a custom overlay over the grid similar to the above demo for when I am loading data, however this does not hide the message No records found that the grid displays when data is being loaded

Additional context

image

@DiyanDimitrov
Copy link
Contributor

Closing as duplicate of #4356

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

No branches or pull requests

4 participants