flask_table icon indicating copy to clipboard operation
flask_table copied to clipboard

Add a method to set attributes on tbody

Open Fran-Rg opened this issue 3 years ago • 1 comments

The current tbody element is created without element passed to it: https://github.com/plumdog/flask_table/blob/master/flask_table/table.py#L134

It can be practical to add a tbody_attrs = {"class": "text-xs"} class

Fran-Rg avatar Dec 13 '22 16:12 Fran-Rg

Yep, I reckon something like tbody_html_attrs would fit in with https://github.com/plumdog/flask_table#table-configuration-and-options

Are you able to open a PR?

plumdog avatar Dec 13 '22 17:12 plumdog