This is a migrated thread and some comments may be shown as answers.

First column - getting rid of

1 Answer 96 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 23 Sep 2011, 01:01 PM
Hi

How do I get rid or hide the first column in a datagrid. It is the column that shows a right arrow when you select a row. Attached is a screen grab of the column I mean

Cheers

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 28 Sep 2011, 11:18 AM
Hello Simon,

Thank you for writing.

To hide the desired column, you can use the ShowRowHeaderColumn property of RadGridView to false. Alternatively, if you just want to remove the current row indicator image (CurrentRowHeaderImage) or the edit row indicator image (EditRowHeaderImage), you can set these images to null:
this.radGridView1.TableElement.CurrentRowHeaderImage = null;
this.radGridView1.TableElement.EditRowHeaderImage = null;

More information regarding those images can be found in the following help article: http://www.telerik.com/help/winforms/gridview-styling-and-appearance-changing-the-currentrow-indicator.html

I hope that the provided information addresses your question. If there is anything else we can assist you with, do not hesitate to contact us.
 
Kind regards,
Stefan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Simon
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or