<fwc-data-table>
Installation
npm i @fortit/fwc-data-table
Example 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