Props
Required
| name | type | description |
|---|---|---|
| items | function Array() { [native code] } | Array of data objects, should be a flat array. |
| measures | function Array() { [native code] } | Array of Measure objects representing the metrics |
Optional
| name | default | type | description |
|---|---|---|---|
| dimensions | () => [] | function Array() { [native code] } | Array of Dimension objects representing the row-dimensions |
| pivot | function Object() { [native code] } | Single Pivot object representing the column-dimension. Limited to 1 for reduced complexity. | |
| locale | en-US | function String() { [native code] } | Locale setting for the table. |
| currentPage | 1 | function Number() { [native code] } | Current page number. |
| noRowsCustom | false | function Boolean() { [native code] } | Indicates whether to use custom rows when no data is available. |
| emptyMessage | No Available Data | function String() { [native code] } | Message to display when there is no available data. |
| filterOptions | function Array() { [native code] } | Array of filter options for the table. | |
| hideFooter | false | function Boolean() { [native code] } | Indicates whether to hide the table footer. |
| hideHeader | false | function Boolean() { [native code] } | Indicates whether to hide the table header. |
| loading | false | function Boolean() { [native code] } | Indicates whether the table is in a loading state. |
| rowsPerPage | 25 | function Number() { [native code] } | Number of rows per page. |
| searchField | function String() { [native code] },function Array() { [native code] } | Field or fields to search within. | |
| rowsItems | () => [25, 50, 100] | function Array() { [native code] } | |
| rowsOfPageSeparatorMessage | of | function String() { [native code] } | |
| searchValue | function String() { [native code] } | Value to search for within the specified field(s). | |
| showIndex | false | function Boolean() { [native code] } | Indicates whether to display an index column. |
| showIndexSymbol | # | function String() { [native code] } | Symbol used for the index column. |
| showIndexClass | function String() { [native code] } | Class used for the index column. | |
| oddRowClass | odd-row | function String() { [native code] } | CSS class applied to odd-numbered rows. |
| evenRowClass | even-row | function String() { [native code] } | CSS class applied to even-numbered rows. |
| oddRowCellClass | odd-row-cell | function String() { [native code] } | CSS class applied to cells in odd-numbered rows. |
| customTableRowClass | () => null | function Function() { [native code] } | Custom function to apply classes to tablerows <tr>. |
| customTableDataClass | () => null | function Function() { [native code] } | Custom function to apply classes to tablerows <td>. |
| evenRowCellClass | even-row-cell | function String() { [native code] } | CSS class applied to cells in even-numbered rows. |
| sortBy | function String() { [native code] } | Field or fields to sort by. | |
| sortType | asc | function String() { [native code] } | Sort type or types (ascending or descending). |
| sortPivotValue | function String() { [native code] } | Sort pivotValue when pivot is active | |
| tableClassName | function String() { [native code] } | CSS class applied to the table element. | |
| innerTableClassName | function String() { [native code] } | CSS class applied to the inner table element. | |
| headerClassName | function String() { [native code] } | CSS class applied to the table header element. | |
| mustSort | false | function Boolean() { [native code] } | Indicates whether sorting is required. |
| tableNodeId | function String() { [native code] } | ID attribute for the table element. | |
| nullFillText | - | function String() { [native code] } | Text to be shown if cellvalue is null |
| splitDimensionHeaders | false | function Boolean() { [native code] } | Forces spit of dimension headers into separate cells. |