preftech / dash-tabulator

Tabulator component for Dash Plotly
MIT License
85 stars 22 forks source link

How to add CSS class to a Tabulator element? #48

Closed amarvin closed 3 years ago

amarvin commented 3 years ago

Fantastic package -- thanks for making and sharing it!

I'm trying to make a Tabulator element that uses the Bootstrap4 theme with row striping (http://tabulator.info/docs/4.9/theme#framework-boot4) using:

import dash_tabulator

dash_tabulator.DashTabulator(
    className="table-striped",  # common way to assign CSS classes to elements in dash
    theme="bootstrap/tabulator_bootstrap4",
)

but dash_tabulator.DashTabulator doesn't allow the className property. Is there a different way to add a CSS class to a Tabulator element?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.