PDA

View Full Version : Collapsed group expands by itself



frrogoy
1 Mar 2010, 12:02 PM
I have a grid grouped by status (open, assigned, closed, etc). Starts with all groups collapsed.
One person works on the open status records. He double-clicks a record to open the form, makes updates and changes the status to assigned. When the grid refreshes, the group that received another record (assigned, in this case) is expanded.

Is there a way to prevent the group from expanding?

mitchellsimoens
1 Mar 2010, 3:37 PM
In the record, set expanded: false.

I haven't really used the grouping grid but that works on the trees. You could also add a listener and collapseAllGroups() or toggleGroup()

frrogoy
2 Mar 2010, 8:05 AM
Thanks for the help, but I don't see any expanded property in any of the containers or data stores I'm using. And I wouldn't know what to listen for after a record has been updated. I don't know what is triggering the group to be expanded.
When the grid is refreshed, perhaps some interim process has to open the group to add a record? I haven't dug into the grouping view code...