selecting even and odd rows in GroupingGrid

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;

1 Reply

AD Administrator 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.

Loader.
Up arrow icon