We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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.
Live Chat Icon For mobile
Up arrow icon