Issue with Excel Filtering and Column Menu

Having an issue trying to get Excel Filtering to work when the Column Menu is enabled.


To recreate the issue, change the filter one of the columns (say uncheck a value for the 'Id' column), and click OK.

In filter.js, an Uncaught TypeError is thrown:

Uncaught TypeError: Cannot read property 'querySelector' of undefined
    at e.addFilteredClass (filter.js:1119)
    at e.onPropertyChanged (filter.js:434)
    at e.notify (observer.js:99)
    at t.notify (component.js:245)
    at t.extendedPropertyChange (grid.js:1239)
    at t.onPropertyChanged (grid.js:1152)
    at t.e.dataBind (base.js:112)
    at t.dataBind (component.js:195)
    at e.filterHandler (filter.js:1084)
    at t.e.initiateFilter (checkbox-filter-base.js:426)

Thanks

2 Replies 1 reply marked as answer

BS Balaji Sekar Syncfusion Team January 13, 2021 07:28 AM UTC

Hi Josh,  

Greetings from Syncfusion support.  

We are able to reproduce the same problem from our end. So we have considered “Column menu Filter throws script error” as a defect and logged a report for the same. We will include the defect fix in our upcoming Jan 20th , 2021 patch release.  

You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.  


Regards,   
Balaji Sekar 



BS Balaji Sekar Syncfusion Team January 20, 2021 10:08 AM UTC

Hi Josh,

Thanks for your patience.

We are glad to announce that our Essential Javascript2 patch release (v18.4.35) has been rolled out successfully and in that release we have added the fix “Column menu Filter throws script error” issue . So please update your package to this version to include the fix.

Feedback Link
https://www.syncfusion.com/feedback/21370/column-menu-filter-throws-script-error

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require further assistance.  
Regards,             
Balaji Sekar 


Marked as answer
Loader.
Up arrow icon