- Home
- Forum
- ASP.NET MVC - EJ 2
- Problem with filtering when the datasource is refreshed
Problem with filtering when the datasource is refreshed
Hello,
When the datasource of the Grid control is refreshed, the options of the Excel filters of the columns are not updated with the new values. I mean, the list of values to filter in a column is not updated with the new values, the filter only show the oldest values to select.
Thanks!
Hi Manuel Caballero,
Greetings from Syncfusion support.
Query: When the data source of the Grid is refreshed, the Excel filter options are not updated with the new values. The filter still displays the older values. How can this issue be resolved?
We tested this scenario based on the information provided. After refreshing the Grid's data source, the Excel filter dialog successfully rendered the updated values from the new data source (first 1000 items by default). This behavior aligns with the expected functionality of the Excel filter. Please refer to the below sample and documentation for your reference.
Sample: Please find the attachment.
Documentations: Ondemand Excel filter default 1000 items rendering behavior and Customize filterChoiceCount Excle filter default 1000 items rendering behavior
Possible Causes of the Issue:
- Configuration
Differences:
The issue could be caused by differences in your Grid's configuration compared to our tested sample. - Custom
Data Source Implementation:
If you're using a custom implementation to provide the data source for the Excel filter dialog, this custom sample dataSource might not be updating correctly. Reference KB - Misunderstanding
of Default Behavior:
By default, the Excel filter dialog renders only the first 1000 items from the new data source. This optimization might be mistaken as an issue.
Additional Details Needed for Further Investigation:
To help us identify the exact cause of the issue, please provide the following:
- Complete
Grid Configuration:
Share the full Grid configuration, including: - Enabled features (e.g., filtering, sorting, virtualization).
- Column definitions.
- Event handlers.
- Any specific property customizations, especially related to filtering.
- Data
Source Update Method:
Explain how you are updating the Grid's data source. Are you replacing the data entirely or performing incremental updates? - Issue
Replication Steps:
Provide a step-by-step procedure to reproduce the issue, ideally with a video demonstration showing the behavior in your application. - Version
Confirmation:
Confirm whether you're using the latest Syncfusion NuGet packages, scripts, and styles(28.1.41). If not, please upgrade and check. Refer to the Syncfusion upgrade guidelines for proper steps. - Customized
Sample:
Replicate the issue using our shared sample by applying your specific customizations.
Regards,
Vasanthakumar K
Attachment: 195914mvcexcelfilterolditemgridnewdata_15762795.zip
Hello,
The problem is this:
- Misunderstanding of Default Behavior:
By default, the Excel filter dialog renders only the first 1000 items from the new data source. This optimization might be mistaken as an issue.
Hi Manuel Caballero,
We're delighted to know that the clarification on the grid's Excel filter behavior and the references to the filterChoiceCount and On-Demand Excel filtering documentation were helpful in meeting your application requirements.
If you have any further queries or need additional support related to this topic, feel free to contact us. We're always here to assist and ensure your experience is seamless!
Regards,
Vasanthakumar K
- 3 Replies
- 2 Participants
-
MC Manuel Caballero
- Jan 27, 2025 11:03 AM UTC
- Jan 29, 2025 08:22 AM UTC