{hero}

remove()

Since: Editor 1.0

Remove (delete) entries from the table.
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 used to remove one or more records from a DataTable. The main editing form is not shown in the remove display (as it has no relevance here, unlike in the create and edit displays), so this method is typically used in conjunction with the message() method to ask the user to confirm they want to delete the selected records.

This method has two different styles of being called. Editor will automatically detect which method is used and act accordingly. Although the newer style introduced in Editor 1.3 is preferred for its flexibility, the older style is still retained for backwards compatibility and can continue to be used.