PDA

View Full Version : expand collapse group in gridpanel not working



JCarlosF
Oct 22, 2020, 1:09 AM
I have a gridpanel with grouping, how can I expand/collapse using a radiobutton? I'm trying to use the example below, and it doesn't work for me:

https://examples5.ext.net/#/GridPanel/Miscellaneous/Grouping/


thanks

fabricio.murta
Oct 22, 2020, 7:34 PM
Hello @JCarlosF!

I have just tried the example you pointed and it seems to be working for me. What specifically does not work for you? What browser and version are using? Anything you click, expecting a group to expand/collapse and "nothing happens"? Any error messages thrown to the console?

JCarlosF
Oct 22, 2020, 11:45 PM
That's right, the example doesn't work for me, I investigated and found something that works for me, they are the following two lines, to expand and collapse respectively:



#{IDGrid}.view.normalView.features[0].expandAll();
#{IDGrid}.view.normalView.features[0].collapseAll();


thanks!

fabricio.murta
Oct 23, 2020, 5:48 PM
Hello JCarlosF!

If grid column locking is what's extra in your scenario, I believe we fixed something related to it, which was included in Ext.NET 5.1.0, according to github issue #1687 (https://github.com/extnet/Ext.NET/issues/1687).

But still, I cannot reproduce expand issues in the example you provided (without modifications), it would really help to know how exactly the issue is reproducible.

If you have any further information on how to reproduce the issue you're facing, please let us know.