We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

selecting even and odd rows in GroupingGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

35546 Oct 3,2005 12:25 PM Oct 3,2005 02:09 PM Windows Forms 1
loading
Tags: GridControl
Eugene
Asked On October 3, 2005 12:25 PM

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;

Administrator [Syncfusion]
Replied On October 3, 2005 02:09 PM

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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;