You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I suppress the class="thing" attribute above? I have tried 3 approaches:
Passing attrs={'cell':{'class':''}} to the Column constructor
Setting row_attrs in the Table.Meta similarly
Overriding Table.get_column_class_names to return an empty set.
None of the above approaches seems to have worked, but surely it must be possible?
Edit: The 'real' issue here is that one of my column names clashes with a pre-existing CSS style, and so my column takes on an unexpected style. I don't want to have to give my column a 'bad' name to work around this, nor do I want to change my existing CSS.
The text was updated successfully, but these errors were encountered:
With a table like:
I get a rendered output like:
How do I suppress the
class="thing"
attribute above? I have tried 3 approaches:attrs={'cell':{'class':''}}
to the Column constructorTable.get_column_class_names
to return an empty set.None of the above approaches seems to have worked, but surely it must be possible?
Edit: The 'real' issue here is that one of my column names clashes with a pre-existing CSS style, and so my column takes on an unexpected style. I don't want to have to give my column a 'bad' name to work around this, nor do I want to change my existing CSS.
The text was updated successfully, but these errors were encountered: