Tabulator Documentation

repository·master·Indexed 27 days ago

https://github.com/tabulator-tables/tabulator

An interactive table generation JavaScript library (version 6.5.2) that creates tables from HTML, JavaScript arrays, or JSON data. It supports React, Angular, and Vue, providing APIs for data manipulation, row and column management, event handling, and theme customization via SCSS.

Tokens
2.2K
Snippets
6
Records
15
Agent score
92%

What's inside Tabulator

  1. Run Tabulator tests

    master

    Tabulator includes Unit and End-to-End (E2E) tests. You can run them using the following commands:

    • Unit tests: npm run test:unit
    • E2E tests: Build the project first with npm run build, then run npx playwright test or npm run test:e2e.
    • All tests: npm run test
    # Unit test
    npm run test:unit
    
    # E2E test
    npm run build # Make sure to build the project first
    npx playwright test # Run the tests
    # or
    npm run test:e2e
    
    # Run all tests
    npm run test
  2. Install Tabulator via CDN (UNPKG)

    master

    To use Tabulator directly from the UNPKG CDN without local installation, include these links in your HTML project:

    <link href="https://unpkg.com/tabulator-tables/dist/css/tabulator.min.css" rel="stylesheet">
    <script type="text/javascript" src="https://unpkg.com/tabulator-tables/dist/js/tabulator.min.js"></script>
  3. Customize Tabulator theme with SCSS variables

    master
    Tabulator's main stylesheet is built with SCSS, allowing you to override default styles by redefining specific variables. You can customize the appearance of the table container, headers, rows, footers, and specialized features like range selection or data trees. To use these, import the SCSS file and define your custom values before the Tabulator import or use the !default flag mechanism in your own configuration.