Components.ModelsTableCellEditToggle Class
Component for cells used as toggle for edit-mode.
Properties and event-handlers from models-table/cell are bound here
Item Index
Properties
cancelButtonLabel
String
The label for the Cancel Button
Default: themeInstance.messages.cancelRowButtonLabel
editButtonLabel
String
The label for the Edit Button
Default: themeInstance.messages.editRowButtonLabel
saveButtonLabel
String
The label for the Save Button
Default: themeInstance.messages.saveRowButtonLabel
Events
cancelRowAction
Function
Closure action sent on Cancel Button being clicked
Action will send one parameter - object with fields:
record
- The record currently being edited
editRowAction
Function
Closure action sent on Edit Button being clicked
Action will send one parameter - object with fields:
record
- The record to be edited
saveRowAction
Function
Closure action sent on Save Button being clicked
Action will send one parameter - object with fields:
record
- The record to be saved