I am using GridExcelFilter no filter row using the filter icon only. how to show custom filter dialog on a icon column.

I am using the EnabledFilteredColumnIcon flag set to true and would like to handle all the columns normally except for one column I would like to respond to the filter icon click with a custom filter dialog. DynamicFilter cannot be used with GridExcelFilter from what I can tell. SO how do you do it?


1 Reply

AR Arulpriya Ramalingam Syncfusion Team November 15, 2021 04:16 PM UTC

Hi Bret, 
 
Thank you for your interest in Syncfusion products. 
 
We suspect that you are trying to add both GridExcelFilter and GridDynamicFilter for a single column alone. This can be achieved by enabling the AllowFilter for that particular column alone. Please refer to the below code example for further details. 
 
Code example 
 
//To enable filtering for first column 
this.gridGroupingControl1.TableDescriptor.Columns[1].AllowFilter = true; 
//To wire both filters 
GridDynamicFilter dyFilter = new GridDynamicFilter(); 
dyFilter.WireGrid(gridGroupingControl1); 
GridExcelFilter fil = new GridExcelFilter(); 
fil.WireGrid(gridGroupingControl1); 
 
Moreover, we already provided the details to wire custom filtering for grid grouping control in our user guide and please make use of the below link. 
 
 
Please get back to us if you need any further assistance. 
 
Regards, 
Arulpriya Ramalingam 


Loader.
Up arrow icon