Our application saves grid and column properties as a view that can be applied to a WinGrid. If a view has a GroupBy column and applied to the grid (with the built in ColumnChooser), the grid is initially displayed with the group by column and the collapsed group by rows. If the group by column is then dragged on to the collapsed group by row, the first time and only the first time, that column remains hidden. It is still unchecked in the Column Chooser. After checking it to make it visible, any subsequent grouping and ungrouping works correctly as far as being hidden or not. If I expand the group by row before I do the first ungrouping it also works correctly. Am I missing some property initially that would cause the column dragged back to the grid to remain hidden the first time?
RM
Hi RM,
I'm sorry, but I'm afraid you lost me. You are dragging a GroupBy column onto a collapsed GroupByRow? That does not make sense to me.
I've attached a sample project. Just drag Column 2 over the collapsed row. The Group By goes away but Column 2 is still hidden, probably due to Hidden = true, But it only has this behavior the first time it is Un-grouped.