}
public void itemsCollapsed(ColumnGroupEntry columnGroupEntry) {
int index = columnGroupEntry.getFirstElementIndex().intValue();
int position = selectionLayer.getColumnPositionByIndex(index);
selectionLayer.doCommand(new ColumnGroupExpandCollapseCommand(
selectionLayer, position));
}
public void itemsExpanded(ColumnGroupEntry columnGroupEntry) {
int index = columnGroupEntry.getFirstElementIndex().intValue();
int position = selectionLayer.getColumnPositionByIndex(index);
selectionLayer.doCommand(new ColumnGroupExpandCollapseCommand(
selectionLayer, position));
}
});
}