LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


clearRows(e)

Occurs after all rows are removed from the TreeGrid or from specified parent row.

Event Data

ParamTypeDetails
eObjectAn event object which contains the parent row from which rows are removed

Remarks

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:

  • clear-rows attribute, or
  • events attribute

The events attribute has a higher priority than the clear-rows attribute. If both attributes are set, the value from events attribute is used.

If all rows are removed from the TreeGrid, parent object within the event data is set to null.

Version Information

Supported in: v1.0.

Articles & Samples

See Also