Skip to content

Commit 921085e

Browse files
github-actions[bot]Apostolos Giatsidis
andauthored
docs(grid): fixed hierachy grid example (#739)
Co-authored-by: Apostolos Giatsidis <giatsidi@progress.com>
1 parent baa3bdc commit 921085e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

_contentTemplates/grid/state.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,11 @@ public static class FilterExtensions
508508
GridState<MainModel> desiredState = new GridState<MainModel>()
509509
{
510510
//expand the first two rows
511-
ExpandedItems = new List<int> { salesTeamMembers[0], salesTeamMembers[1] }
511+
ExpandedItems = new List<MainModel>
512+
{
513+
salesTeamMembers[0],
514+
salesTeamMembers[1]
515+
}
512516
};
513517

514518
await Grid.SetState(desiredState);

0 commit comments

Comments
 (0)