Skip to content

Options

Johannes Wilm edited this page Sep 17, 2018 · 23 revisions

Simple-DataTables can be initialised with custom options passed as the second parameter of the constructor.

let options = {
    searchable: true,
    perPage: 10,
   ...
};
let dataTable = new DataTable(myTable, options);

Clone this wiki locally