@fortit/fwc-data-table
v1.0.1
Published
## Installation
Downloads
27
Readme
<fwc-data-table> 
Installation
npm i @fortit/fwc-data-tableExample usage
Standard
<script type="module">
import {DataTable} from '@fortit/fwc-data-table';
export class MyDataTable extends DataTable {
...
}
</script>API
Slots
None
Properties/Attributes
None
Methods
| Name | Description |
| ------------------------------------------- | ------------------------------------------ |
| setData<T>(datas: T[]) => void | Set an array of items to render the table. |
| sort(field: string) => void | Sorting items at the specific column. |
| setFilter(field = '', value = '') => void | Filter items at the specific column. |
Events
None
