@fortit/fwc-data-table
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

<fwc-data-table> Published on npm

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

Additional references

Readme

Keywords

none

Package Sidebar

Install

npm i @fortit/fwc-data-table

Weekly Downloads

0

Version

1.0.1

License

Apache-2.0

Unpacked Size

87 kB

Total Files

8

Last publish

Collaborators

  • markusfuerer