First Grid row should not be editable

2 posts, 0 answers
  1. Srini
    Srini avatar
    41 posts
    Member since:
    Jul 2009

    Posted 23 Oct 2010 Link to this post


    I want to restrict the first row of my grid from editing all other rows can be editable..

    Is there is any way to do this?

  2. Maya
    Maya avatar
    4062 posts

    Posted 25 Oct 2010 Link to this post

    Hello Srini,

    You may handle the BeginningEdit event and cancel it for the items you want to be read-only. For example:

    private void clubsGrid_BeginningEdit(object sender, GridViewBeginningEditRoutedEventArgs e)
        if(e.Row.Item == this.clubsGrid.Items[0])
            e.Cancel = true;


    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top