The Record Selectors column appears by default at the far left side of the control and it includes an icon to indicate the selected row. To hide the Record Selectors column, set the RecordSelectors property to False. Hiding the Record Selectors column restricts selecting rows. This property can be set either in the designer or in code.
To set the RecordSelectors property using the C1TrueDBGrid Designer:
Alternatively, the RecordSelectors property can also be set in the Properties window. To set the RecordSelectors property in the Properties window:
Add the following code to the Form_Load event to hide the Record Selectors column:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Me.C1TrueDBGrid1.RecordSelectors = False |
To write code in C#
C# |
Copy Code
|
---|---|
this.c1TrueDBGrid1.RecordSelectors = false; |
The Record Selectors column is not visible: