DataTables
Last updated
Last updated
Displaying data in HTML tables is a staple display for any web application. The DataTables plugin adds advanced features to any HTML table.
DataTables for WireBootstrap brings DataTables into the WireBootstrap framework.
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 CDN if it's not found on the page. It will also load the DataTable CSS file from the same CDN.
DataTables for WireBootstrap extends the wire.ui.component 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 the component using an HTML table
element.