I have 2 different column and both of them are allowing filtering. So, I have 2 filtertogglebutton in my view. And one of them must be visible all time but other one can change according to the situation. I tried do binding to visibility property of filtertogglebutton but it is affecting all buttons. How can I do that?
VSVijayarasan Sivanandham Syncfusion Team December 9, 2022 11:51 PM UTC
Hi Kivanc Yilmaz,
Your requirement to change the visibility of the filter toggle button in SfDataGrid can be achieved by customizing GridHeaderCellControl in the HeaderStyle
property in GridColumn. Refer to the below code snippet,
<!--Here customize the GridHeaderCellControl to handle the
filtericonvisibility for specific column-->