Tabulator and Polymer 3

70 views Asked by At

has anyone tried using Tabulator in a Polymer 3 project? Polymer is not supported by Tabulator but maybe someone has tried to integrate it. Thanks

1

There are 1 answers

3
Oli Folkerd On

Tabulator is a vanilla JS library, as such it will work in any JavaScript Frontend Framework without issue.

The supported frameworks list on the website simply demonstrates how to set it up with those frameworks. If you follow the standard Quickstart Guide you should be up and running in no time.

With most frameworks it is simply a matter of passing a reference to the div created by the framework into the first argument of the constructor instead of the CSS selector string.

You would normally need to instantiate Tabulator after the render phase of your particular framework.

If you do get something setup then please submit some simple demo code as an issue on the Tabulator Git Repo and i can add it to the website to help others

The Framework Documentation includes several examples of setting up Tabulator in a frontend framework that should give you some pointers on how to address the issue.