The filter with a date column doesn't work with version 17.2 of IgniteUI. It always give a javascript error: The valDateParts is null....
It work fine with version 16.3 of IgniteUI.
Hello,
This topic goes into this in detail and could be an useful read if you are upgrading from a version equal or earlier than 16.2 but to summarize - the Microsoft date format (e.g. "/Date(1508990400000)/" ) is no longer supported by Ignite UI. In order to get dates to work correctly from version 17.1 onward you should use the widely adopted Newtonsoft.JSON library that serializes dates in ISO 8061 . If you are using the MVC Helpers, the correct serialization will be done automatically by them. They will require that Newtonsoft.JSON is available in the project references.
I hope this helps!
Best regards,
Stamen Stoychev
I'm using C# DateTime object serialized with JSON wich give something like : /Date(1508990400000)/
The iggrid format the date correctly but the filter by date column throw a javascript error.
Hello Sébastien,
Thank you for posting in our community. Can you please let me know what is the date format in your underlying data source? From version 17.1 and above the supported data type format is the ISO 8601 format. For example, a date, formatted in ISO 8601 looks like the following:
In version 17.1 we introduce some date type related changes that I believe are causing the exception on your side. More information about the date changes can be found at:
https://www.igniteui.com/help/whats-new-in-2017-volume1#griddatehandling
https://www.igniteui.com/help/migrating-enableutcdates-option-in-17-1
Please let me know if you need any further assistance with this matter.