GridGroupingControl suppress display of group by column

I have a GridGroupingControl that I want to group by column X but I do not want column X to show in the grouping area. I manually add the GridColumnDescriptors and I do not add one for X. So, can I prevent the showing of the column in the grouping area?

1 Reply

AD Administrator Syncfusion Team July 29, 2004 01:55 PM UTC

You can try to hide it. The droparea is really a GridControlBase object. So, you can subscribe to droparea.Model.QueryColWidth. There you can set e.Size = 0 and e.Handled = true when e.Index points to this first appearing column. I am not sure exactly what the column number of this column will be (maybe 2 or 3 or 1 or ??), but you could values until you get the correct value (it should not change) for the first appearing column.

Loader.
Up arrow icon