remove
A button that will delete one or more rows using Editor.
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
The remove
button type is provided by Editor to give the ability to easily remove one or more selected rows in a DataTable through a pre-defined button that will call the remove()
method to trigger data deletion.
It uses the Select extension for DataTables to determine what data is selected in the DataTable, and provide that information to the remove()
method to delete that data.
All of the options available for the remove()
method's form options are available through the button options (namely formButtons
, formMessage
and formTitle
).
This button requires that the editor
option must be set, which tells the button which Editor instance to operate on when activated. In this way multiple Editor instances could be attached to a single DataTable if required.