First column - getting rid of

2 posts, 0 answers
  1. Simon
    Simon avatar
    7 posts
    Member since:
    Sep 2011

    Posted 23 Sep 2011 Link to this post

    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
  2. Stefan
    Admin
    Stefan avatar
    2908 posts

    Posted 28 Sep 2011 Link to this post

    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 >>

Back to Top