# Table settings

The Qommentary Writeback allows you to customize the following table settings:

### [Table](#table)

<div align="left"><img src="https://1677646431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M43RhGzV8Plu0tfknia%2F-MZBCSFFsK4MKIWRC449%2F-MZBFGxbYnjQN8CarTUd%2Fimage.png?alt=media&#x26;token=3d0b7a74-f180-4204-82fb-41515b20dbb1" alt=""></div>

| Property      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                  | Default                |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- |
| Table Layout  | <p>Controls the way that table cells, rows and columns will be laid out. Choose between 2 options:<br></p><ul><li><strong>Horizontal scrollbar</strong>: Columns utilize custom widths and a horizontal scroll is triggered if columns exceed available table viewport space.</li><li><strong>Fit in view</strong>: Column widths are automatically calculated and distributed equally amongst the available table viewport space.</li></ul> | `horizontal scrollbar` |
| Allow sorting | Allows sorting functionality for dimensions across the entire extension.                                                                                                                                                                                                                                                                                                                                                                     | `true`                 |

### [Header](#header)

#### Horizontal alignment

<div align="left"><img src="https://1677646431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M43RhGzV8Plu0tfknia%2F-MZBCSFFsK4MKIWRC449%2F-MZBFVeqN9L_wrnjP7xP%2Fimage.png?alt=media&#x26;token=60c6ff36-efd1-49c8-ac9f-84951db636e6" alt=""></div>

| Property             | Description                                                          | Default |
| -------------------- | -------------------------------------------------------------------- | ------- |
| Horizontal Alignment | Allows left, center or right alignment of text in table header names | `left`  |

#### Header height

<div align="left"><img src="https://1677646431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M43RhGzV8Plu0tfknia%2F-MfWsnAyTYXQlVOPkdqs%2F-MfWtsaNLDTfIw-dlH5s%2Fimage.png?alt=media&#x26;token=92ba6393-b431-40a1-ad95-cf48d15c1e73" alt=""></div>

| Property      | Description                                                                                                                  | Default   |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------- | --------- |
| Header height | Controls the height of the header with 3 options to choose from: Compact (narrow), Comfortable (normal) and Spacious (wide). | `Compact` |

### [Totals](#totals)

<div align="left"><img src="https://1677646431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M43RhGzV8Plu0tfknia%2F-MZBCSFFsK4MKIWRC449%2F-MZBFhy38-hPi3d7j9EO%2Fimage.png?alt=media&#x26;token=9e5d1329-c6f1-408e-a991-c6f61bfb2f97" alt=""></div>

| Property           | Description                                                                                                                                         | Default  |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| Display totals row | Show or hide the Totals row from table. The Totals row aggregates all values in each measure column and displays underneath the header column name. | `true`   |
| Label              | Custom label to display in the Totals Row. Expressions are supported.                                                                               | `Totals` |

### [Rows](#rows)&#x20;

<div align="left"><img src="https://1677646431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M43RhGzV8Plu0tfknia%2F-MZBCSFFsK4MKIWRC449%2F-MZBGJWI__3IRD9EKYcM%2Fimage.png?alt=media&#x26;token=ef4a09e5-8dd7-4ae9-a264-37c3008b117a" alt=""></div>

| Property             | Description                                                                                                                                                            | Default |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| Wrap text in cells   | Controls text wrapping behaviour in table cells. If disabled, text in cells will display on a single line and any overflow text will display an ellipsis symbol (...). | `true`  |
| Display striped rows | If enabled, odd table rows will display a shaded background color.                                                                                                     | `false` |
