How to use tabulator-tables - 3 common examples

To help you get started, we’ve selected a few tabulator-tables examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tetherless-world / whyis / static / js / whyis_vue / components / table-view / components / tableView.vue View on Github external
mounted(){
        //instantiate Tabulator when element is mounted
        this.tabulator = new Tabulator('#data-table', {
            reactiveData:true, //enable data reactivity
        });
        // Create API instance
        this.api = new MockApi();
  },
})
github aspnetrun / run-aspnetcore-cqrs / src / AspnetRun.Web / src / app / shared / tabulator-table / tabulator-table.component.ts View on Github external
private drawTable(): void {
    this.options.reactiveData = true;
    this.options.layout = "fitColumns";
    this.table = new Tabulator(this.tab, this.options);
    document.getElementById('tabular-table').appendChild(this.tab);
  }
}
github modxcms / Collections / _build / assets / js / Sidebar / index.js View on Github external
if (~['publishedon', 'published', 'pub_date'].indexOf(sortField)) {
                    sortField = 'publishedon_combined';
                }

                initialSort.push({
                    column: sortField,
                    dir: view.sortDir
                });
            } else {
                initialSort.push({
                    column: "publishedon_combined",
                    dir: "desc"
                });
            }

            const table = new Tabulator(tableWrapper, {
                ajaxURL: config.endpoint,
                ajaxParams: {
                    action: 'get-collection',
                    collection: collection.id
                },
                ajaxConfig: {
                    credentials: 'same-origin',
                    headers: {
                        'X-Fred-Token': pluginTools.fredConfig.jwt
                    }
                },
                ajaxSorting: true,
                columnHeaderSortMulti: false,
                pagination: "remote",
                paginationSize: 5,
                ajaxFiltering: true,

tabulator-tables

Interactive table generation JavaScript library

MIT
Latest version published 2 months ago

Package Health Score

84 / 100
Full package analysis

Popular tabulator-tables functions