ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How to have initially collapsed only second level grouping of Grid ?
Title:
B
I
{code}
?
from http://demo.aspnetawesome.com/GridDemo/Grouping when I set Person column and Food column initial Grouped and Collapsed . and I coding `new GroupHeader{ Collapsed = true}` It collapsed all grouped column but I want initial collapsed only second grouped column . When initial I would like to http://puu.sh/uFsVG/ca5b4c1726.png I wouldn't like to http://puu.sh/uFsWm/2d607791d7.png
Save Changes
Cancel
nutfergie
asked at 12 Mar 2017
Answers
B
I
{code}
?
level of grouping is in `gr.Level`, so you can do it like this: MakeHeader = gr => { return new GroupHeader { Collapsed = gr.Level > 1 ...
Save Changes
Cancel
Omu
answered at 12 Mar 2017
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK