This question is locked. New answers and comments are not allowed.
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
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