Documentation
Cell Editing
Simple Table provides powerful cell editing capabilities, allowing users to modify data directly within the table interface. This creates a more interactive and efficient user experience for data entry and management. Unlike competitors, Simple Table provides specialized editors for different data types including strings, numbers, dates, booleans, and enumerated values.
Basic Editing Setup
To enable cell editing in Simple Table, you need to:
- Add the
isEditable: trueproperty to the columns you want to make editable - Provide an
onCellEdithandler to manage the data updates
Cell Editing Properties
Copy-Paste Functionality
Simple Table includes built-in copy-paste functionality that works seamlessly with cell editing:
- Users can copy data from any selected cells using keyboard shortcuts (Ctrl+C/⌘+C)
- Data can be pasted from external sources like spreadsheets or other applications
- Important: Pasting is only allowed into columns that have
isEditable: true - Non-editable columns will be skipped during paste operations
Copy-Paste Restrictions
When pasting data, only columns marked with isEditable: true will accept the pasted values. This ensures data integrity and prevents accidental modification of read-only columns like IDs or calculated fields.