modifier()
Get the identifier for the row(s) currently being edited / removed.
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 sign-in, alternatively an Editor license can be purchased on this site, or sign up for the free trial.
Description
When an Editor instance is displayed to an end user, it can often be useful to know which row is the one being acted upon, particularly if you are using the Buttons or TableTools buttons to provide access to the editing interface.
This method provides exactly this ability, returning the identifier that was used to trigger the edit or remove action. This identifier is the first parameter that was passed to the edit()
, inline()
, bubble()
or remove()
methods.
In the case of the Buttons or TableTools buttons, the identifier is: