mates-grid docs

mates-grid

Editing

Double-click or press F2 / Enter to edit. Built-in editors: text, number, date, select, largeText. Validation, undo/redo, and full-row mode live on the engine; committed values update grid.data.

Inline editors

Name is a text editor. Amount rejects negatives. Status is a select. Notes uses largeText.

{
  field: "amount",
  editable: true,
  cellEditor: "number",
  isValidCell: ({ value }) =>
    Number(value) >= 0 ? true : "Amount must be ≥ 0",
}