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.
Hello. We''ve encountered a problem concerned with rows selection in GroupingGrid control.
The user can sucesfully select only odd rows, and
even rows remain unselected, when user clicks them.
We use the Grouping Grid control with the following parameters:
this.gridGroupingControl1.Appearance.AddNewRecordFieldCell.Enabled = false;
this.gridGroupingControl1.Appearance.AddNewRecordRowHeaderCell.Enabled = false;
this.gridGroupingControl1.Appearance.AlternateRecordFieldCell.Enabled = false;
this.gridGroupingControl1.Appearance.AlternateRecordRowHeaderCell.Enabled = false;
this.gridGroupingControl1.Appearance.AnyNestedTableCell.CellType = "Static";
this.gridGroupingControl1.Appearance.AnyRecordFieldCell.CellType = "Static";
this.gridGroupingControl1.Appearance.RecordRowHeaderCell.Enabled = false;
this.gridGroupingControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.gridGroupingControl1.TableDescriptor.AllowEdit = false;
this.gridGroupingControl1.TableDescriptor.AllowNew = false;
this.gridGroupingControl1.TableDescriptor.AllowRemove = false;
this.gridGroupingControl1.TableOptions.AllowSelection = Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Row;
this.gridGroupingControl1.TopLevelGroupOptions.ShowFilterBar = true;
ADAdministrator Syncfusion Team October 3, 2005 06:09 PM UTC
Try using the record selection support specific to GridGroupingControl. You do this by setting:
this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None;
this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiSelect; //anyhing other than None
If these properties are set any other way, then the selection support is the support inherited from GridControlbase, and this support has no knowledge of the grouping grid.