View as Markdown

API reference: @salmonui/data-grid/engine/tree

applySelectionDeltafunction

import { applySelectionDelta } from '@salmonui/data-grid/engine/tree';
function applySelectionDelta(layout: TreeLayout, counts: Int32Array, added: Iterable<number>, removed: Iterable<number>): void;

Applies a selection change to the counts in place: every ancestor of a changed row moves by one. O(changed × depth).