API reference: @salmonui/data-grid/engine
EditTargetinterface
import type { EditTarget } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/edit.
interface EditTarget {
readonly rowId: RowId;
readonly columnId: ColumnId | null;
readonly isNew: boolean;
}
The row (row and dialog modes) or cell (batch and cell modes) being edited.
| Name | Signature | Description |
|---|---|---|
rowId | readonly rowId: RowId; | |
columnId | readonly columnId: ColumnId | null; | The edited cell; in row and dialog mode the cell that has the editor focus. |
isNew | readonly isNew: boolean; |