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

Expand Row not working

0 Answers 10 Views
GridView
This is a migrated thread and some comments may be shown as answers.
GM72
Top achievements
Rank 1
GM72 asked on 14 Sep 2012, 03:03 PM
Hi,

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?

Thanks

No answers yet. Maybe you can help?

Tags
GridView
Asked by
GM72
Top achievements
Rank 1
Share this question
or