# SelectionSummary (@salmonui/data-grid/engine)

> The SelectionSummary interface of @salmonui/data-grid/engine.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/SelectionSummary

```ts
import type { SelectionSummary } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid`, `@salmonui/data-grid/engine/selection`.

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: interface

```ts
interface SelectionSummary {
    readonly scope: 'explicit' | 'allFiltered';
    readonly count: number;
    readonly total: number;
    readonly header: 'none' | 'some' | 'all';
    readonly cellRangeCount: number;
    readonly columnCount: number;
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `scope` | `readonly scope: 'explicit' \| 'allFiltered';` |  |  |
| `count` | `readonly count: number;` |  | Selected rows among the rows matching the current query. |
| `total` | `readonly total: number;` |  | Rows matching the current query (all pages). |
| `header` | `readonly header: 'none' \| 'some' \| 'all';` |  | Header select-all checkbox state. |
| `cellRangeCount` | `readonly cellRangeCount: number;` |  |  |
| `columnCount` | `readonly columnCount: number;` |  |  |
