Class ColumnGroupsCommandHandler

    • Method Detail

      • handleCreateColumnGroupCommand

        protected boolean handleCreateColumnGroupCommand​(String columnGroupName)
        Creates a new column group with the given name out of the currently fully selected column positions. If a selected column is part of an existing group, the existing group will be removed and all columns belonging to that group will be also part of the new group.
        Parameters:
        columnGroupName - The name of the new column group.
        Returns:
        true if the column group could be created, false if there are no columns fully selected.
      • handleRemoveColumnGroupCommand

        protected void handleRemoveColumnGroupCommand​(int columnIndex)
        Remove the column group at the given column index.
        Parameters:
        columnIndex - The column index to retrieve the column group to remove.
      • handleUngroupCommand

        protected void handleUngroupCommand()
        Remove the currently fully selected columns from their corresponding groups. Will also trigger a reorder to ensure a consistent group rendering