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 remains 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 remains editable.
focusEditor moves focus to the active editor
getEditState returns info about active editor object
getEditor returns an 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 the edit operation is finished
onBeforeEditStart fires before edit operation is initiated
onBeforeEditStop fires before the edit stop command is received
onLiveEdit fires when data was changed in the editor
Properties
editValue defines which data item is editable (in case of several data items 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