Class: ControlTable

ControlTable

A table that has view/update/delete support. Buttons are added to the incoming data objects as if they were part of the data.

Constructor

new ControlTable(optionsopt)

Constructor
Parameters:
Name Type Attributes Description
options object <optional>
Properties
Name Type Attributes Description
buttons object <optional>
Properties
Name Type Attributes Default Description
deleteButton boolean <optional>
true
updateButton boolean <optional>
true
viewButton boolean <optional>
true
Deprecated:
  • Use RenderTable
Source:

Extends

Methods

deleteRow() → {RenderTable}

Delete a row based on its identifier in the TemplateManager collection of rows or simply pass the row data object itself
Inherited From:
Source:
Returns:
Type
RenderTable

setRowTemplate(template) → {RenderTable}

Set the row template settings property as well as the row manager's row template.
Parameters:
Name Type Description
template Row | Template
Inherited From:
Source:
Returns:
Type
RenderTable

wipe() → {RenderTable}

Empty the tbody and clear cached data
Inherited From:
Source:
Returns:
Type
RenderTable