Cell Editors
Summary
- AdapTable provides 4 Cell Editors to enable quick data entry and edits:
- Select editor: used for choosing from list of values
- Numeric cell editor: used for editing numeric columns
- Date Picker: used for editing date columns
- Percentage cell editor: used for when editing values as percentages
AdapTable provides 4 Cell Editors so that data can be quickly and safely entered into AG Grid:
| Editor | Columns Used | Always Used | Used in Filters |
|---|---|---|---|
| Select (Dropdown) Editor | All Columns | If configured | ❌ |
| Numeric Cell Editor | Numeric Columns | ✅ | ✅ |
| Date Picker | Date Columns | ✅ | ✅ |
| Percentage Cell Editor | Numeric Columns with % Rendering | ❌ | ❌ |
A few tips and tricks:
- Use Numeric Cell Editor & Date Picker automatically for columns whose Cell Data Type is
numberordate - Turn on the Select Editor per column with
showSelectCellEditorin Edit Options - Use the Percentage Cell Editor only where you set
AdaptablePercentageEditoron the column and usually pair it with a percentage Number Display Format. - Numeric and date editors also appear in the Filter Bar for those column types
- Select and Percentage editors are for in-grid editing only
Caution
- Numeric Cell Editor and Date Picker are used by default for numeric and date columns
- If a bespoke
cellEditoris set on the Column Definition, that takes precedence
Hint
- Shortcuts apply while editing numeric cells
- Custom Edit Values control lists shown in Select Editors (and Bulk Update)
- Row Forms reuse Select Editors where configured
FAQ
Can I use my own AG Grid cell editor instead?
Yes. Any cellEditor you define on the column takes precedence over AdapTable’s default numeric and date editors.
Where is Select Editor configuration documented?
See Select Editor and Edit Options (showSelectCellEditor, customEditColumnValues).