# Table Layout Wizard

Canonical page: https://www.adaptabletools.com/docs/handbook-layouts-wizard-table

- The Table Layout Wizard provides full run-time ability for creating and editing Table Layouts

[Layouts](https://www.adaptabletools.com/docs/handbook-layouts/index.md) · [Table Layouts](https://www.adaptabletools.com/docs/handbook-layouts-table/index.md) · [AdapTable Wizards](https://www.adaptabletools.com/docs/ui-settings-panel-wizards/index.md).

The Table Layout Wizard enables run-time users to create and edit [Table Layouts](https://www.adaptabletools.com/docs/handbook-layouts-table/index.md) (if their [Entitlements](https://www.adaptabletools.com/docs/handbook-permissioning/index.md) allow).

It leverages the [AdapTable Wizard](https://www.adaptabletools.com/docs/ui-settings-panel-wizards/index.md) to provide full run-time control to users.

### Creating and Editing Table Layouts in the Layout Wizard

These are the steps required in the Layout Wizard to create a Table Layout:

See [Pivot Layouts](https://www.adaptabletools.com/docs/handbook-layouts-pivot/index.md) for a Guide to creating a Pivot Layout

This step is used to set the **mandatory** `Name` property - how the Layout will be referenced in the dropdowns in Toolbar, ToolPanel and StatusBar.

The Name needs to be unique but also ideally easy to identify

The wizard will automatically set the Grid Type radio button to `Table`

There are 3 steps involved when configuring Row Grouping:

- Select the Row Display Type - options are:
  - Single Column - All Row Group Columns share the same "Group" column
  - Multi Column - Every Row Group Column appears as a separate column

- Select which Columns should be [Row Grouped](https://www.adaptabletools.com/docs/handbook-grouping-rows/index.md) in the Layout (drag to set order of Row Grouping)

Only Groupable Columns with `enableRowGroup` set to _true_ in the Grid Options definition are listed

- Set the [Expanded and Collapsed Behaviour](https://www.adaptabletools.com/docs/handbook-grouping-rows-expanded-collapsed/index.md) for Row Groups

Use this step to set the main Column elements of the Layout:

- Select Column **visibility** by clicking the `Visible` checkbox in the Column item.
- Set Column **order** by dragging Columns up and down (using dotted icon)

Clicking the down arrow in any Column item displays additional information and props including:

- Provide an alternative Column **Header** (in preference to one supplied to AG Grid)
- Set the **Width** for the Column
- Provide **Pinning** information (e.g. Left or Right)

Configure which Columns in the Layout will display [Aggregations](https://www.adaptabletools.com/docs/handbook-aggregation/index.md) when row grouped

Only Aggregatable Columns with `enableValue` set to *true* in the Grid Options definition are listed

There are 2 things to set:

- [Row Summaries](https://www.adaptabletools.com/docs/handbook-summarising-rows/index.md) will display Aggregations for entire Columns, and can be placed either at the top or bottom of the Grid

- [Column Sorts](https://www.adaptabletools.com/docs/handbook-layouts-table-sorting/index.md) will sort Columns using their specified sort order

- Click the sorting icon to select ascending or descending sort order
- If you have set a [Custom Sort](https://www.adaptabletools.com/docs/handbook-custom-sorting/index.md) for that Column, AdapTable will use that automatically

Define which [Column Filters](https://www.adaptabletools.com/docs/handbook-column-filter/index.md) should be applied to the Layout.

This is useful if you wish to define Column Filters for a Layout which is not currently selected

Create a [Grid Filter](https://www.adaptabletools.com/docs/handbook-grid-filter/index.md) for filtering across multliple columns.

Set options for managing [Row Selection](https://www.adaptabletools.com/docs/handbook-layouts-table-row-selection/index.md) in the Layout, including creating a Selection Column.

The final step of the Wizard displays a Summary of all that was chosen in the above steps.
