data |
The data you want to display in the table. Type: Array of normal or JSON objects. |
definition |
The definition of the table made through the TableDefinition class. Type: TableDefinition |
sorting |
The sorting information of the table. Type: Object containing direction and field. |
device |
Pass a number which represents the current device. Usually going 0 - Mobile, 1 - Tablet and so on. Type: Number |
mobileViewThreshold |
Defines below and including which number the mobile view will be displayed. Type: Number, Default: 0 |
isLoading |
Pass variable that changes to _true _when the client is waiting for response. Type: Boolean |
loaderWaitTime |
Defines how much the loader will wait before appearing. Works as debouncer. Type: number representing milliseconds, Default: 250 |
wrapperClass |
Pass your class to the div wrapping the table. Type: String, Default: modular-table-wrapper |
tableClass |
Pass your class to the table. Type: String, Default: modular-table |
tableMobileClass |
Pass your class to the mobile view of the table. Type: String, Default: modular-table-mobile |
loaderClass |
Pass your class to the div responsible for the loading. You can also access the span inside to add an animation or text. Type: String, Default: loader |