I've used this code to toggle a grid's expand-collapse state, but since installing the recent 2013 Q3 update the grid expands ok but then remains expanded when the expand/collapse command is triggered again. How do I collapse an expanded grid now?
if (e.CommandName == "ExpandCollapseAll")
{
grid.MasterTableView.HierarchyDefaultExpanded = !grid.MasterTableView.HierarchyDefaultExpanded;
grid.Rebind();
}