Documentation

EditAbility

Implement common edit interactions.

Methods
edit enables the edit mode for the specified item
editCancel cancels the edit mode and closes all opened editors. The component is still editable
editNext closes the current editor and opens one in the next cell of the row
editStop stops the edit mode and closes all opened editors. The component is still editable
focusEditor moves focus to the active editor
getEditState returns info about active editor object
getEditor returns editor object
getEditorValue returns the value of the active (currently open) editor
validateEditor validates data in currently active editor
Events
onAfterEditStart fires after edit operation was initiated, editor opened and ready for input
onAfterEditStop fires after edit operation finished
onBeforeEditStart fires before edit operation is initiated
onBeforeEditStop fires before stop edit command is received
onLiveEdit occurs when data was changed in the editor
Properties
editValue defines which data item is editable (in case of several data item in the cell/line)
editable allows/denies editing in the view
editaction defines the action on which editors will be opened
editor sets editor types for component items
form linked form
Back to top