Dec 29, 2011, 11:38 PM
[CLOSED] How to determine if all groups are expanded in GridPanel?
I am finalizing the development of a GridPanel and wanted to polish a couple of UI minor issues. We have two buttons "Expand All" and "Collapse All" that are displayed if groups are being shown (view.canGroup()). Is there a way to determine if all groups are currently expanded? If they are then I will disable the "Expand All" button. I know this is somewhat ridiculous and causes extra management, but I wanted to see how easy it is to accomplish.
I looked at the GroupView.js and followed how toggleGroup works to determine the current state of a group. But I am missing something.
Any suggestions?
I looked at the GroupView.js and followed how toggleGroup works to determine the current state of a group. But I am missing something.
Any suggestions?
Last edited by cwolcott; Dec 31, 2011 at 2:29 AM.
Reason: Later thread solved issue