MCPcopy Create free account
hub / github.com/6pac/SlickGrid / EditCommand

Interface EditCommand

src/models/editCommand.interface.ts:3–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { Editor } from './editor.interface.js';
2
3export interface EditCommand {
4 /** The row of the cell being edited */
5 row: number;
6
7 /** The column of the cell being edited */
8 cell: number;
9
10 /** a reference to the cell editor */
11 editor: Editor | any;
12
13 /** The result of calling editor.serializeValue() right before destroying the editor */
14 serializedValue: any;
15
16 /** The result of calling editor.serializeValue() before the changes have been made by the user */
17 prevSerializedValue: any;
18
19 /** Call to commit changes */
20 execute: () => void;
21
22 /** Call to undo (rollback) changes */
23 undo: () => void;
24}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected