How can i modify the css class of the DataGrid?

10 views
Skip to first unread message

Ferdinand Holzner

unread,
Mar 24, 2017, 9:39:25 AM3/24/17
to TurboGears
Hi,

currently the DataGrid doesn't really look like a bootstrap template.
I'd like to change the class from "grid" to "table", so it get's the right design.
Everything else is actually fine to me.

So, how can i change the css class?

Thanks in advance

Alessandro Molina

unread,
Mar 27, 2017, 8:21:06 AM3/27/17
to TurboGears
Usually setting the css_class attribute of a widget will lead to a custom class being provided for the root element of the widget, in this case the table.
Not totally sure as DataGrid is a pretty custom component.

--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+unsubscribe@googlegroups.com.
To post to this group, send email to turbo...@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages