IN the syncfusion grid the filters are showing the correct and expected filters. But after a modal is being opened and closed it is giving an error and the data shown in the filter is hanged and only the last clicked filter data is showing.
The error is shown as :
Uncaught TypeError: Cannot read property '_expands' of undefined
at t.excelFilter._processListData (ej.web.all.min.js:10)
at t.excelFilter.openXFDialog (ej.web.all.min.js:10)
at Object._mouseClickHandler (ej.web.all.min.js:10)
at HTMLDivElement.<anonymous> (ej.web.all.min.js:10)
at HTMLDivElement.dispatch (jquery-3.2.1.min.js:3)
at a (ej.web.all.min.js:10)
at HTMLDivElement.s (ej.web.all.min.js:10)
at HTMLDivElement.dispatch (jquery-3.2.1.min.js:3)
at HTMLDivElement.q.handle (jquery-3.2.1.min.js:3)
I have tried many different things like setting the e-type as string and then showing the dataSources but nothing seems to help. Any help regarding can be really great.
Thanks in Advance
Based on your query we suspect that you are facing an issue while perform filtering in the Grid. In this you also mentioned that after a modal is being opened and closed it gives the error, so we suspect that you have used the menu Filter or excel filter in the grid.
So, we have prepared a sample with the excel filter and tried to reproduce the issue but we did not face the mentioned issue at our end.
For your convenience we have attached the sample and please find the sample for your reference
Sample : https://www.syncfusion.com/downloads/support/directtrac/313492/ze/filter_core-1339169973.zip
Documentation: https://ej2.syncfusion.com/aspnetcore/documentation/grid/filtering/#excel-like-filter
If you are still facing the issue, kindly share the following details that will be helpful for us to provide better solution.
Share the complete Grid rendering code.
If possible please replicate the issue in the attached sample.
Share us a Pictorial representation or video demonstration of the issue.
Have you bound local or remote data to the Grid? If remote data which adaptor have you used.
Syncfusion Package version.