Hello,
By default I have this filter:
I would like hide the combobox and set the "Contains" option as default filtering type.
My second question: can I place a filter icon into to right side of the filter cell? (instead of dropdown icon for example)
Can you help me please how can I do this?
Thank you!
Hi SZL,
Please find answer for your queries below
|
Queries |
Solutions |
||
|
I would like set the "Contains" option as default filtering type.
|
AutoGeneratingColumn event in SfDataGrid. Please refer to the following code snippet,
UG Link: https://help.syncfusion.com/windowsforms/datagrid/filterrow |
||
|
I would like hide the combobox or can I place a filter icon into to right side of the filter cell? (instead of dropdown icon for example)
|
Your requirement to hide the Combobox or place a filter icon on the right side of the filter in SfDataGrid can be achieved by customizing the filter row renderer behavior by overriding the corresponding renderer associated with the filter row cell. Please refer to the following code snippet,
UG
Link: https://help.syncfusion.com/windowsforms/datagrid/filterrow#customizing-filterrow-cellrenderer |
Please find the sample in the attachment and let us know if you have any
concerns in this.
Regards,
Vijayarasan S
If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.
Thank you very much, its works perfectly!
Hi SZL,
We are glad to know that the reported problem has been resolved at your end.
Please let us know if you have any further queries on this. We are happy to
help you😊.
Regards,
Vijayarasan S