This question is locked. New answers and comments are not allowed.
I have a filter on a column displaying datetimes, I wish to be able to change the way it displays datetimes on the fly.
In my grid the user can switch the way the date is displayed in a cell (custom cell) during runtime.
How can I customise the dates shown in the filter? For instance just showing the time component or date component? I tried converting the DateTime to the appropriate string using a converter, however then the filter assumes it is a String and does string comparisons on the data rather than datetimes, and also if a user changes the datetime format the value hasn't changed so it doesn't get pushed through the converter.
Thanks for any help!
In my grid the user can switch the way the date is displayed in a cell (custom cell) during runtime.
How can I customise the dates shown in the filter? For instance just showing the time component or date component? I tried converting the DateTime to the appropriate string using a converter, however then the filter assumes it is a String and does string comparisons on the data rather than datetimes, and also if a user changes the datetime format the value hasn't changed so it doesn't get pushed through the converter.
Thanks for any help!