> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reducto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Other classes: Tables

## `TableCellCollection`

`PowerPoint.TableCellCollection`.

Import from `@reductoai/pptx/officejs`.

### TableCellCollection properties

| Name | Type | Description |
| - | - | - |
| `items` | `TableCell[]` | read-only |

### `TableCellCollection.getCount()`

```ts theme={null}
getCount(): { value: number }
```

### `TableCellCollection.getItemAtOrNullObject()`

```ts theme={null}
getItemAtOrNullObject(index: number): TableCell & { isNullObject: boolean }
```

## `TableColumnCollection`

`PowerPoint.TableColumnCollection`.

Import from `@reductoai/pptx/officejs`.

### TableColumnCollection properties

| Name | Type | Description |
| - | - | - |
| `items` | `TableColumn[]` | read-only |

### `TableColumnCollection.add()`

```ts theme={null}
add(index?: number | null, count?: number): void
```

Inserts `count` columns before `index` (at the end without one), as wide as their neighbour.

### `TableColumnCollection.deleteColumns()`

```ts theme={null}
deleteColumns(columns: TableColumn[]): void
```

### `TableColumnCollection.getCount()`

```ts theme={null}
getCount(): { value: number }
```

### `TableColumnCollection.getItemAt()`

```ts theme={null}
getItemAt(index: number): TableColumn
```

## `TableRowCollection`

`PowerPoint.TableRowCollection`.

Import from `@reductoai/pptx/officejs`.

### TableRowCollection properties

| Name | Type | Description |
| - | - | - |
| `items` | `TableRow[]` | read-only |

### `TableRowCollection.add()`

```ts theme={null}
add(index?: number | null, count?: number): void
```

Inserts `count` rows before `index` (at the end without one).

### `TableRowCollection.deleteRows()`

```ts theme={null}
deleteRows(rows: TableRow[]): void
```

### `TableRowCollection.getCount()`

```ts theme={null}
getCount(): { value: number }
```

### `TableRowCollection.getItemAt()`

```ts theme={null}
getItemAt(index: number): TableRow
```

## `TableStyleSettings`

`PowerPoint.TableStyleSettings` over `a:tblPr`.

Import from `@reductoai/pptx/officejs`.

### TableStyleSettings properties

| Name | Type | Description |
| - | - | - |
| `areColumnsBanded` | `boolean` | |
| `areRowsBanded` | `boolean` | |
| `isFirstColumnHighlighted` | `boolean` | |
| `isFirstRowHighlighted` | `boolean` | |
| `isLastColumnHighlighted` | `boolean` | |
| `isLastRowHighlighted` | `boolean` | |
| `style` | `"NoStyleNoGrid" \| "ThemedStyle1Accent1" \| "ThemedStyle1Accent2" \| "ThemedStyle1Accent3" \| "ThemedStyle1Accent4" \| "ThemedStyle1Accent5" \| "ThemedStyle1Accent6" \| "NoStyleTableGrid" \| "ThemedStyle2Accent1" \| "ThemedStyle2Accent2" \| "ThemedStyle2Accent3" \| "ThemedStyle2Accent4" \| "ThemedStyle2Accent5" \| "ThemedStyle2Accent6" \| "LightStyle1" \| "LightStyle1Accent1" \| "LightStyle1Accent2" \| "LightStyle1Accent3" \| "LightStyle1Accent4" \| "LightStyle1Accent5" \| "LightStyle1Accent6" \| "LightStyle2" \| "LightStyle2Accent1" \| "LightStyle2Accent2" \| "LightStyle2Accent3" \| "LightStyle2Accent4" \| "LightStyle2Accent5" \| "LightStyle2Accent6" \| "LightStyle3" \| "LightStyle3Accent1" \| "LightStyle3Accent2" \| "LightStyle3Accent3" \| "LightStyle3Accent4" \| "LightStyle3Accent5" \| "LightStyle3Accent6" \| "MediumStyle1" \| "MediumStyle1Accent1" \| "MediumStyle1Accent2" \| "MediumStyle1Accent3" \| "MediumStyle1Accent4" \| "MediumStyle1Accent5" \| "MediumStyle1Accent6" \| "MediumStyle2" \| "MediumStyle2Accent1" \| "MediumStyle2Accent2" \| "MediumStyle2Accent3" \| "MediumStyle2Accent4" \| "MediumStyle2Accent5" \| "MediumStyle2Accent6" \| "MediumStyle3" \| "MediumStyle3Accent1" \| "MediumStyle3Accent2" \| "MediumStyle3Accent3" \| "MediumStyle3Accent4" \| "MediumStyle3Accent5" \| "MediumStyle3Accent6" \| "MediumStyle4" \| "MediumStyle4Accent1" \| "MediumStyle4Accent2" \| "MediumStyle4Accent3" \| "MediumStyle4Accent4" \| "MediumStyle4Accent5" \| "MediumStyle4Accent6" \| "DarkStyle1" \| "DarkStyle1Accent1" \| "DarkStyle1Accent2" \| "DarkStyle1Accent3" \| "DarkStyle1Accent4" \| "DarkStyle1Accent5" \| "DarkStyle1Accent6" \| "DarkStyle2" \| "DarkStyle2Accent1" \| "DarkStyle2Accent2" \| "DarkStyle2Accent3"` | A style id the built-in set does not know reads as "NoStyleNoGrid". |
