Custom Editing
The Grid enables you to implement custom column editors and to specify validation rules that apply while the user edits the data.
Implementing Custom Editors
To implement a custom editor in the Grid, specify the editor
field of the respective column. The value of this field will point to a JavaScript function which will instantiate the column editor for the corresponding column cells. For a runnable example, refer to the demo on editing with custom editors in the Grid.
Setting Validation Rules
To define a validation rule for the edit operation, configure the validation
option in the schema
of the data source. For a runnable example, refer to the demo on custom validator editing in the Grid.
KB Articles on Custom Editing
- Adding Custom Column Popup Editor
- Using the AutoComplete as a Custom Column Editor
- Creating a Custom Number Editor by Using NumericTextBox
- Find Out More in the Knowledge Base