Data table
lx-data-table is a directive that create a data table.
| Parameter |
Type |
Default |
Description |
| lx-border |
boolean |
true |
Specify if the data datable rows have border. |
| lx-selectable |
boolean |
false |
Specify if the data datable is selectable or not. |
| lx-tbody |
object |
|
Define the data table tbody. Refer to the demo controller. |
| lx-thead |
object |
|
Define the data table thead. Refer to the demo controller. |
| lx-thumbnail |
boolean |
false |
Make the first thead array element the row thumbnail. Format option should return a 40px squared image. |
| Parameter |
Type |
Description |
| dataTableId* |
string |
The data table id specified in the directive id attribute. |
| Parameter |
Type |
Description |
| dataTableId* |
string |
The data table id specified in the directive id attribute. |
| Available parameter |
Type |
Description |
| event |
object |
The broadcast original event. |
| selectedRows |
array |
The selected rows from tbody array. |
| Available parameter |
Type |
Description |
| event |
object |
The broadcast original event. |
| selectedRows |
array |
The selected rows from tbody array. |
| Available parameter |
Type |
Description |
| event |
object |
The broadcast original event. |
| column |
object |
The sorted column from thead array. |