{hero}

undependent()

Since: Editor 1.9

Remove existing dependent actions from a field.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

This method is the opposite of the dependent() method - it will remove any dependent actions that have already been assigned to a given field. This can be useful with events such as initCreate and initEdit to have dependencies only on a specific action (e.g. add and remove the dependent() action based on the mode triggered).