Hi there,
I'm using a RadGridView with a DateTime column. The property for this column is a nullable DateTime property. I read on a few forum posts that I need to add a FilterDescriptor for the nullable DateTime columns manually. So I added the descriptors the following way:
FilterDescriptor desc =
new
FilterDescriptor();
desc.Operator = FilterOperator.IsEqualTo;
desc.Value =
null
;
desc.IsFilterEditor =
true
;
col.FilteringMode = GridViewTimeFilteringMode.Date;
gv.Columns[
"WishDate"
].FilterDescriptor = desc;
When the data binding is complete, it instantly filters for null value in this column. But I don't want to filter right away. When I don't add the FilterDescriptor, the default FilterOperator for this column is "None".
What I need on startup is this nullable DateTime column with "Equal To" filter and not already filtered data.
I hope you know what I mean :)
Regards,
Danilo