Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / editorSeedText

Variable: editorSeedText

const editorSeedText: WeakMap<object, string>

Text an editor opens with when the typed character is not a value yet (P-3.6): - or , on a number cell, a digit on a date cell. Keyed by the engine's edit SESSION object, so it belongs to that one opening; the session itself keeps the cell's value until the editor reports a complete one, which is what makes "-" followed by Enter change nothing.