Constructor
new DataTable()
A data table
- Copyright
- schukai GmbH
Members
defaults
data-monster-options
must be used.To set the options via the html tag the attribute data-monster-options
must be used.
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
templates | Object | Template definitions Properties
| ||||||||||||
datasource | Object | Datasource configuration Properties
| ||||||||||||
mapping | Object | Mapping configuration Properties
| ||||||||||||
data | Array | Data | ||||||||||||
headers | Array | Headers | ||||||||||||
responsive | Object | Responsive configuration Properties
| ||||||||||||
labels | Object | Labels Properties
| ||||||||||||
classes | Object | Classes Properties
| ||||||||||||
features | Object | Features Properties
| ||||||||||||
templateMapping | Object | Template mapping Properties
|
- See
- https://monsterjs.org/en/doc/#configurate-a-monster-control The individual configuration values can be found in the table.
(static) instanceSymbol
instanceof
operator.This method is called by the instanceof
operator.
Methods
addRow(data) → {Monster.Components.Datatable.DataTable}
Add a row to the datatable
.Add a row to the datatable
Name | Type | Description |
---|---|---|
data | Object |
assembleMethodSymbol() → {Monster.Components.Form.Form}
copyRow(fromIndex, toIndex) → {Monster.Components.Datatable.DataTable}
Copy a row from the datatable
.Copy a row from the datatable
Name | Type | Description |
---|---|---|
fromIndex | number | |
toIndex | number |
getGridElements(selector) → {NodeListOf.<*>}
Name | Type | Description |
---|---|---|
selector | string |
- Type:
- NodeListOf.<*>
removeRow(index) → {Monster.Components.Datatable.DataTable}
Remove a row from the datatable
.Remove a row from the datatable
Name | Type | Description |
---|---|---|
index |
(static) getCSSStyleSheet() → {Array.<CSSStyleSheet>}
- Type:
- Array.<CSSStyleSheet>
(static) getTag() → {string}
- Type:
- string