LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


itemCheckstateChanging(e)

Occurs before item's checkbox value is changed, when checkbox has tri-state values.

Event Data

ParamTypeDetails
eObjectAn event object which contains the item and checkbox value

Event Object Fields

itemObjectThe item which checkbox value is about to change
valueStringThe value of item's checkbox

Remarks

This event can be handled by creating a function in your application controller and applying it as value to an attribute in TreeView directive:

  • item-checkstate-changing attribute, or
  • events attribute

The events attribute has a higher priority than the item-checkstate-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.

Version Information

Supported in: v2.0.

Articles & Samples

See Also