Expand Row not working

1 posts, 0 answers
  1. GM72
    GM72 avatar
    23 posts
    Member since:
    Sep 2012

    Posted 14 Sep 2012 Link to this post


    Any reason why this wouldn't work

     private void RadGridView1_RowLoaded(object sender, RowLoadedEventArgs e)
                if (((RadGridView)sender).ChildrenOfType<GridViewRow>().First() != null)
                    var row = ((RadGridView)sender).ChildrenOfType<GridViewRow>().First();
                    row.IsExpanded = true;

    I just want to expand the parent row in a 1 row (hierarchical) grid.... really shouldn't be this difficult?

Back to Top