GridEditBase
Abstract
Base for features, which edit the grid.
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
Set to
trueto start editing when user starts typing text on a focused cell (as in Excel)Has a corresponding runtime autoEdit property.
-
A CSS selector for elements that when clicked, should not trigger editing. Useful if you render actionable icons or buttons into a grid cell.
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of GridEditBase class, or subclass thereof.
-
Returns the record currently being edited, or
null -
Set to
trueto start editing when user starts typing text on a focused cell (as in Excel)Has a corresponding autoEdit config.
-
Is editing currently active?
-
Identifies an object as an instance of GridEditBase class, or subclass thereof.
Functions
Functions are methods available for calling on the class-
Starts editing if user taps selected cell again on touch device. Chained function called when user clicks a cell.
-
Event handler added when editing is active called when user clicks a cell in the grid during editing. It finishes editing and moves editor to the selected cell instead.
-
onStoreUpdate( )private
Update the input field if underlying data changes during edit.
-
Called when the user triggers the edit action in triggerEvent config. Starts editing.