preftech / dash-tabulator

Tabulator component for Dash Plotly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add CSS class to a Tabulator element?

amarvin opened this issue · comments

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?

commented

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.