# GridBookmarkWidgetModel

Auto-generated from the @jbrowse/mobx-state-tree model in the source — see the [developer guide](https://jbrowse.org/jb2/docs/developer_guide/) for concepts. Provided by the `grid-bookmark` plugin. [View source](https://github.com/GMOD/jbrowse-components/blob/main/plugins/grid-bookmark/src/GridBookmarkWidget/model.ts).

Lists the session's highlights in a table, where the user imports them and
recolors or removes the selected ones.

## Properties

| Member | Description |
| --- | --- |
| **id**<br><code>id: ElementId</code> |  |
| **type**<br><code>type: types.literal('GridBookmarkWidget')</code> |  |

## Volatiles

| Member | Description |
| --- | --- |
| **selectedKeys**<br><code>Set&lt;string&gt;</code> | a row's key holds its coordinates and its place in the session's list, so a key left stale by a removal elsewhere selects nothing rather than a neighbour |

## Getters

| Member | Description |
| --- | --- |
| **rows**<br><code>HighlightRow[]</code> | every highlight in the session, in the order they were added |
| **selectedHighlights**<br><code>HighlightType[]</code> |  |

## Actions

| Member | Description |
| --- | --- |
| **setSelectedKeys**<br><code>(keys: Set&lt;string&gt;) =&gt; void</code> |  |
| **importHighlights**<br><code>(highlights: HighlightType[]) =&gt; void</code> |  |
| **removeSelectedHighlights**<br><code>() =&gt; void</code> |  |
| **recolorSelectedHighlights**<br><code>(color: string) =&gt; void</code> |  |

