View as Markdown

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

toEditInputfunction

import { toEditInput } from '@salmonui/data-grid/engine/edit';
function toEditInput(value: unknown): Json;

Converts a value to a command input: Dates become ISO strings, other non-JSON values are stringified.