When adding a "Date" column to a grid that has the filtering feature enabled,
I am receiving the error below after selecting a date to filter on.
Error: Unable to get property 'day' of undefined or null reference
Attached is an example, change extension to html.
What do you mean by "when adding a Date column"? Do you mean to perform CRUD operations on the grid like adding, updating, deleting? In this case you should enable Updating feature as well. Please give me more details around your issue cause I'm not sure I understood it properly.
If I attempt to change the filter condition on the date to, "Today" or "Yesterday" or "This Month". Any filter condition that would execute the filtering action causes the issue.
If i select a Date from the Date picker in the filter, the issue occurs.
I have attached two screenshots
I was able to reproduce your issue and logged an internal bug in our system, so that our developers could take a look at it and suggest a fix. I've also opened a private case for you where this issue is attached. The case is with number: CAS-186324-K3Y8W5 and the bug is with id: 241035.
Please let me know if you have any questions.
After further investigation of this matter, it seems that from v17.1 the igDataSource doesn't accept Microsoft date formatting (/Date(1234656000000)/). So if the provided data source contains this kind of data you should change it to ISO UTC format, for example: "2009-02-15T00:00:00Z". Here is an article related to this for your reference: https://www.igniteui.com/help/migrating-enableutcdates-option-in-17-1 If you have any questions, please let me know.
I do not believe this is an acceptable solution.
The Microsoft RESTful date format works correctly in the grid as well as with the sorting feature on the grid, which leads me to believe the igDataSource does accept this format.