dbTable
Unique table identifier string sent to the server. Deprecated - use ajax.data.
Please note - this property requires the Editor extension for DataTables.
Deprecated!
As of v1.3 this feature has been deprecated. This feature has not yet been scheduled for removal, but its use is discouraged and the alternatives discussed below should be used.
As of Editor 1.3, to send extra information to the server, use the ajax.data option.
Editor 1.3 does still support this parameter in the same way as Editor 1.2 and earlier for backwards compatibility, but it is recommended you use the newer method suggested above particularly in new scripts.
Description
This option provides a value that is passed directly to the server upon submission of the form (submit()). The submitted value is sent as a parameter of the same name (i.e. dbTable). If no value is provided, this parameter is not sent in the submitted data.
The value given is intended to give the server-side script extra information, specifically the name of the table being operated on. This means that a single Ajax script could control multiple tables, switching between each table as required by checking for this variable.
Type
This option can be given in the following type(s):
Example
Deprecated dbTable option:
var editor = new DataTable.Editor({
ajax: 'php/staff.php',
table: '#myTable',
dbTable: 'myTable'
});