Hi All,
I want to expand / collapse all rows on button click event. I tried the dgv.MasterTemplate.ExpandAll()
and dgv.MasterTemplate.CollapseAll() functions but none of them work.
I have around 8000 rows and 6 levels. How do I do that?
Also I noticed, I expanded one group that has more than 2000 rows will take some seconds to expand and then I expand another one which has only 2 rows that also take same time of previous group. If I collapse previous group and then expand the second one it expanded quickly. Is this normal behavior?
Thanks in advance
I want to expand / collapse all rows on button click event. I tried the dgv.MasterTemplate.ExpandAll()
and dgv.MasterTemplate.CollapseAll() functions but none of them work.
I have around 8000 rows and 6 levels. How do I do that?
Also I noticed, I expanded one group that has more than 2000 rows will take some seconds to expand and then I expand another one which has only 2 rows that also take same time of previous group. If I collapse previous group and then expand the second one it expanded quickly. Is this normal behavior?
Thanks in advance