Hi Maurizio,
We have investigated
the reported scenario. By default, the filtering is applied based on the actual
value of the column. However, your requirement to remove the duplicate items in
the FilterControl can be achieved by setting the FilterMode as ColumnFilter.DisplayText.
This ensure to filtering applied based on the DisplayText.
Code snippet to set FilterMode:
|
sfDataGrid1.Columns.Add(new
GridDateTimeColumn()
{
MappingName = "ShippingDate",
Format = "MMMM",
GroupMode = DataReflectionMode.Display,
FilterMode = ColumnFilter.DisplayText
});
|
Image illustration of FilterControl:
Refer to the below
user guide documentation for more information.
UG Link: Filtering
based on DisplayText
Find the sample demo
in the attachment.
Please let us know
if you need any further assistance.
Regards,
Rabina M
If this post is
helpful, please consider Accepting it as the solution so that other members can
locate it more quickly.
Attachment:
SfDataGrid_Filtering_8a037e29.zip