2X faster development
The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
This knowledge base explains how to return unique values from the server end for excel filter checkbox values. Solution: By default, if we bind more than 1000 records in Grid then the excel filter will show only distinct values from the first 1000 records of Grid dataSource. If we have one distinct value from the first 1000 records, then it will return only one distinct value from server end. To overcome this, we need to return the 1000 (default value of MaximunFilterChoice) distinct values of entire Grid dataSource from the server, by passing the filtering column name to server end through the actionBegin event of ejGrid and based on that we can get the distinct values from server end.
HTML
JS
MVC
ASP
CORE
Angular
TS
Result: Figure 1: Shown some unique values in excel filter dialog for CustomerID column in Grid. |
2X faster development
The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.