Styling Editable, Read-Only & Edited Cells

View as Markdown

Summary

  • Developers can style 3 kinds of cell so editability is visible in the Grid
  • These styles are UI options — they do not decide whether a cell can be edited

AdapTable can apply a distinctive style to:

  • Editable cells
  • Read-only cells
  • Edited cells (changed in the current session)

Set editableCellStyle, readOnlyCellStyle and editedCellStyle in User Interface Options.

Find Out More

Note

  • Which cells are editable is detailed in Pre-Edit Validation (isCellEditable in Edit Options, or colDef.editable)
  • The styles only change appearance