FilterDialog for GridGroupingControl

Hi,

How can I get the simple Filter Dialog in GridGroupingControl just like the one in GridDataBoundGrid.

Thanks,
Alomgir

2 Replies

JJ Jisha Joy Syncfusion Team June 11, 2009 09:09 AM UTC

Hi Alomgir,

You could have filterbar to the gridgroupingcontrol by setting the opLevelGroupOptions.ShowFilterBar property to true and enabling the filter for each column.

Please see the code:

this.gridGroupingControl1.TopLevelGroupOptions.ShowFilterBar = true;
////Enable the filter for each columns

for (int i = 0; i < gridGroupingControl1.TableDescriptor.Columns.Count; i++)
gridGroupingControl1.TableDescriptor.Columns[i].AllowFilter = true;

Please let me know if this helps.

Regards,
Jisha


AM Alomgir Miah June 11, 2009 08:29 PM UTC

Hi,

Thanks for the reply.
I had already done that. But the Filer Dialog that I get is very complicated. My question is how can I get a Filter Dialog similar to GridDataboundGrid.

Thanks,
Alomgir

Loader.
Up arrow icon