undependent()
Since: Editor 1.9
Remove existing dependent actions from a field.
Please note - this property requires the Editor extension for DataTables.
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).
Type
undependent( field )
Remove existing dependent actions from a field.
Parameters:
| Name | Type | Optional | |
|---|---|---|---|
| 1 | field | No | |
Field name(s) to remove dependencies from - see | |||
Returns:
DataTable.Editor: Editor instance for chaining
Related
The following options are directly related and may also be useful in your application development.