1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-02 22:53:17 +02:00
6 3.0 Extensions
koalyptus edited this page 2017-04-15 03:17:02 +10:00

An extension is a feature that is not part of the tablefilter core bundle. It is loaded asynchronously from a separate bundle but only if required by the configuration. The extensions are now stored in the extensions registry. To get the instance of an extension you can use the extension('name') method:

var tf = new TableFilter('tableId', {
    extensions: [{ name: 'sort' }]
});
var sort = tf.extension('sort');