About column chooser

Hi,
There is column chooser function for grid grouping control like Grid SfDataGrid control ?
Best Regards

5 Replies

AA Arulraj A Syncfusion Team November 26, 2018 09:09 AM UTC

Hi Cosyspro, 

Thank you for using Syncfusion products 

You can customize column appearance of a Grid Grouping control by using plug-in utility called Field Chooser as like in SfDataGrid. FieldChooser class can be associated with Grid Grouping control to add or remove columns from the grid.  
Code[C#] 
FieldChooser fieldChooser = new FieldChooser(this.gridGroupingControl1)} 


Please let us know if this helps also need any further assistance on this.   

Arulraj A 



CO Cosyspro November 27, 2018 11:17 AM UTC

Hi Arulraj 
Thank you for response. It's work fine.

I have other questions :
1) Why chooser window to hide/display columns does't resize using mouse?
2) Why the Grid Grouping Control display is slow without data source (empty data) ?
3) How to use virtual mode to display big data ?

Best Regards




AA Arulraj A Syncfusion Team November 28, 2018 05:47 AM UTC

Hi Cosyspro, 

Thanks for your update. 

Query 
Response 
Why chooser window to hide/display columns does't resize using mouse? 
GridGroupingControl does not have the support to resize the FieldChooser dialog. The size is fixed. If you use more number columns, scrollbar will be enabled in FieldChooser dialog. 
Why the Grid Grouping Control display is slow without data source (empty data) ? 
We have tried to bind the datasource with empty data but there is no performance issue occurs. So, we suspect that this issue may occur based on your customization. So, if it is possible please provide your customization or let us know the below attached sample differ from your customization. 

How to use virtual mode to display big data ? 
GridGroupingControl does not have the support for VirtualGrid. 

Note: 
Our newly implemented SfDataGrid does have all your requested support. So, we would like to suggest to use our newly implemented SfDataGrid. It provides a better performance compare than GridGroupingControl.   
  
You can find the feature comparison between the GridGroupingControl and the SfDataGrid from the following link.   
   
Please refer to the following UG’s for working with SfDataGrid.   
Comparison: https://help.syncfusion.com/windowsforms/sfdatagrid/overview#choose-between-different-grid-controls 
   
Dashboard sample location: \Syncfusion\EssentialStudio\[Version Number]\Windows\DataGrid.Winforms\Samples\ColumnChooser  

Please let us know if you have any further queries on this. 

Regards, 
Arulraj A 



JM John Miller June 1, 2026 04:29 AM UTC

For anyone landing here in a current WinForms project, two practical additions to the marked answer.

The simplest FieldChooser instantiation is one line and works as-is:

FieldChooser fieldChooser = new FieldChooser(this.gridGroupingControl1);

On the non-resizable dialog limitation Arulraj mentioned, the workaround is to skip the built-in dialog and bind the hide/show state directly to a custom form with checkboxes:

foreach (var col in gridGroupingControl1.TableDescriptor.Columns)

    col.Appearance.AnyRecordFieldCell.Themed = true;


gridGroupingControl1.TableDescriptor.VisibleColumns

    .Remove("ColumnName"); // hide

gridGroupingControl1.TableDescriptor.VisibleColumns

    .Insert(2, "ColumnName"); // show at index 2

That gives you full control over the picker UI without subclassing the built-in dialog.

If you are starting a new project, the recommendation to move to SfDataGrid still holds in 2025. Its ShowColumnChooser property is a single line and the chooser is resizable out of the box, plus virtualization is built in so the slow-empty-grid and big-data issues from this thread disappear entirely. GridGroupingControl is in maintenance mode at this point.



SR Senthilkumar Ranganathan Syncfusion Team June 1, 2026 07:39 AM UTC

John Miller,

Thank you for the suggestion. Please feel free to reach out if you need any further assistance; we will be happy to help.

Loader.
Up arrow icon