Occurs before cell value is changed.
|e||Object||An event object which contains the cell and its value|
This event can be handled by creating a function in your application controller $scope and applying this function as value to an attribute in TreeGrid directive:
- cellvalue-changing attribute, or
- events attribute
The events attribute has a higher priority than the cellvalue-changing attribute. If both attributes are set, the value from events attribute is used.
For cancellation, simply return a false value in this event handler.
Supported in: v1.0.
Articles & Samples
- Dynamically Add Rows
An example on how to add new rows dynamically in IntegralUI TreeGrid AngularJS.
- Custom DropDown Editor in AngularJS Grid
Create custom editor template and apply it to cells in AngularJS Grid as dropdown editor. This sample demonstrates how to edit cells using dropdown list as editor, generated from a template.
- InCell Editor
An example on how to enable incell editing by creating a custom editor and place it inside a grid cell in IntegralUI TreeGrid AngularJS.
- Label Edit
An example on how to enable label editing for each cell in IntegralUI TreeGrid for AngularJS.