Collapsed Grouping
Hi,
When i group by a column, by default it display the data in expanded forms (i.e. display child rows also). I want By Default the data should be collapsed and user should see the Grouped Rows only. If required user can expand any row.
Regards,
Prakash
0
-
Hi,
To change this behavior, modify the following default settings:
Dapfor.Net.Ui.Preferences.Grid.ExpandGroups = false;
Best Regards,
Dapfor0 -
Hi, is it possible to set on individual grid ?
Thanks
0 -
Yes, you can. For this you should to subscribe for Grid.RowAdded event and change Row.Expanded property in the newly added row:
grid.RowAdded += delegate(object sender, GridRowEventArgs e)
{
if(e.Row.IsGroup)
{
e.Row.Expanded = false;
}
};Best regards,
Dapfor
0
Please sign in to leave a comment.
Comments
3 comments