Advanced User Interface Controls and Components
Occurs after all columns are removed from the Grid or from specified parent column.
Param | Type | Details |
---|---|---|
e | Object | An event object which contains the event data |
This event can be handled by creating a function in your application controller $scope and applying this function as value to an attribute in Grid directive:
The events attribute has a higher priority than the clear-columns attribute. If both attributes are set, the value from events attribute is used.
If all columns are removed from the Grid, parent object within the event data is set to null.
Supported in: v1.0.
Learn how to dynamically add or remove rows and columns in Tree Grid for AngularJS using several different methods. Each operation is accompanied with events which can be handled in your code.