About column chooser
|
FieldChooser fieldChooser = new FieldChooser(this.gridGroupingControl1)} |
|
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. |
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.
Thank you for the suggestion. Please feel free to reach out if you need any further assistance; we will be happy to help.
- 5 Replies
- 4 Participants
-
CO Cosyspro
- Nov 25, 2018 10:09 AM UTC
- Jun 1, 2026 07:39 AM UTC