DataTables

DataTables for WireBootstrap

Displaying data in HTML tables is a staple display for any web application. The DataTablesarrow-up-right plugin adds advanced features to any HTML table.

DataTables for WireBootstrap brings DataTables into the WireBootstrap framework.

Installation

The DataTables for WireBootstrap library is located in wire-datatables.js. This and other other related files can be installed from the NPM package registry at@wirebootstrap/wire-datatables.

DataTables for WireBootstrap will load the DataTables JavaScript file from a CDNarrow-up-right if it's not found on the page. It will also load the DataTable CSS file from the same CDNarrow-up-right.

Class

DataTables for WireBootstrap extends the wire.ui.componentarrow-up-right class. As such, it inherits all the base functionality of that class.

To create a new instance of the DataTables for WireBootstrap component, use the wire.datatables class.

Render

Render the component using an HTML table element.

Last updated

Was this helpful?