Class RowGroupsCommandHandler

    • Method Detail

      • handleCreateRowGroupCommand

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

        protected void handleRemoveRowGroupCommand​(int rowIndex)
        Remove the row group at the given row index.
        Parameters:
        rowIndex - The row index to retrieve the row group to remove.
      • handleUngroupCommand

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