The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
How can I do the following with GridGroupingControl;
1) Programatically define n columns.
2) Add simple rows where each row has n columns without using any DataSource.
3) Enable Multiselect with Ctrl\Shift keys.
I would be nice to have an example showing how this is all done programatically.
Regards,
Faris
ADAdministrator Syncfusion Team April 1, 2006 08:06 AM UTC
Hi Faris,
Issue 1:
You can add columns by TableDescriptor / Columns collection in the property window or through the following code.
this.gridGroupingControl1.TableDescriptor.Columns.Add("Column1");
Issue 2:
This is not supported for a GridGroupingControl. A GridGroupingControl normally holds no data. The data comes from the datasource is just displayed in the grid. Currently it is possible to add row / record to the grid binded with datasource.
Issue 3:
By setting AllowSelection property you can achieve this.
this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.Any;
Thanks for the patience.
Let us know if you need any further assistance.
Best regards,
Madhan