datatable/vuepress/api/datamanager.md
2018-05-22 14:09:57 +05:30

468 B

DataManager

All the methods listed here are available on the datatable.datamanager property.

Example

const datatable = new DataTable(container, options);
datatable.datamanager.getRows();

sortRows

Sorts rows according the values in the column identified by colIndex and order sortOrder.

sortRows(colIndex: Number, sortOrder: 'asc | desc | none'): void

// Usage
datatable.datamanager.sortRows(data, columns);