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

> The SparseRows interface of @salmonui/data-grid/engine: Rows whose height differs from the fixed row height, ascending by index.

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

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

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

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 SparseRows {
    readonly detailCount: number;
    detailIndex(j: number): number;
}
```

Rows whose height differs from the fixed row height, ascending by index.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `detailCount` | `readonly detailCount: number;` |  |  |
| `detailIndex` | `detailIndex(j: number): number;` |  | Visible index of exception `j` (ascending in `j`). |
