Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
Filtering on DateTime values when converter present
posted

Hi,

We have recently moved to Infragistics.WPF.v.9.1, because of the new features of XamDataGrid. Filtering on different types is a long awaited functionality. However it's not working entirely well, when you are using your own converter.

We have a DateTime column which hosts a date in UTC format. In order to display it in local time we apply a converter on the value. As soon as I select one of the predefined filtering options e.g Yesterday, This Month, Last Quarter the filtering throws a specified cast invalid exception. It is because the returned value is the string representation of the option not its DateTime equivalent. Is there any available Converter for those values? Or I have to implement by myself?

Regards,
Peter