Part 1: Date format in GridViewDataColumn:
I have a need to display a DateTime in a column with the following format: "MMM dd yyyy h:mm:ss tt". How would I go about doing that? Using the DataFormatString dependency property seemed like the logical choice, but did nothing.
Part 2: How do I filter by date?
On the Telerik webpage under the heading "Filtering and Excel-like Filtering", there is a date time filter. How do I enable that for a GridViewDataColumn that has a DateTime as a backing property type? I've tried all sorts of things, and this is what I'm currently using, but it does nothing - I only am able to use the standard string filter.
Part 3: How do I show empty cells for DateTime.Min values?
I also have the need to show an empty cell if the backing value is DateTime.Min. How would I accomplish that?
I have a need to display a DateTime in a column with the following format: "MMM dd yyyy h:mm:ss tt". How would I go about doing that? Using the DataFormatString dependency property seemed like the logical choice, but did nothing.
Part 2: How do I filter by date?
On the Telerik webpage under the heading "Filtering and Excel-like Filtering", there is a date time filter. How do I enable that for a GridViewDataColumn that has a DateTime as a backing property type? I've tried all sorts of things, and this is what I'm currently using, but it does nothing - I only am able to use the standard string filter.
<
t:GridViewDataColumn
DataMemberBinding
=
"{Binding LastSave, Mode=OneWay}"
DataType
=
"{x:Type System:DateTime}"
Header
=
"Last Save"
IsReadOnly
=
"True"
IsGroupable
=
"False"
/>
Part 3: How do I show empty cells for DateTime.Min values?
I also have the need to show an empty cell if the backing value is DateTime.Min. How would I accomplish that?