# SelectedCellInfo

Canonical page: https://www.adaptabletools.com/docs/reference/selectedcellinfo

Describes which Cells are currently selected in AdapTable

```ts title="TypeScript"
export interface SelectedCellInfo<TData = any> 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [columns](https://www.adaptabletools.com/docs/reference/selectedcellinfo.md#columns) | [`AdaptableColumn`](https://www.adaptabletools.com/docs/reference/adaptablecolumn.md)`<TData>[]` | Array of Columns which have selected cells |
| [gridCells](https://www.adaptabletools.com/docs/reference/selectedcellinfo.md#gridcells) | [`GridCell`](https://www.adaptabletools.com/docs/reference/gridcell.md)`<TData>[]` | Selected cells. Each entry has the cell value, the Primary Key value and the column. Empty when nothing is selected. |

## Property Details

### columns

Array of Columns which have selected cells

```ts title="TypeScript"
columns: AdaptableColumn<TData>[];
```

###### Property Value

[`AdaptableColumn`](https://www.adaptabletools.com/docs/reference/adaptablecolumn.md)`<TData>[]`

### gridCells

Selected cells. Each entry has the cell value, the Primary Key value and the column. Empty when nothing is selected.

```ts title="TypeScript"
gridCells: GridCell<TData>[];
```

###### Property Value

[`GridCell`](https://www.adaptabletools.com/docs/reference/gridcell.md)`<TData>[]`
