0

I am trying to style a jQuery UI DataTable. I have found the different classes that get inserted such as "odd" and "sorting_1". Right now, in order to change the styling, I am just overriding these in a separate stylesheet.

Is there a better way to change the default styling of the rows?

I don't think the rows are covered by ThemeRoller.

I'm not sure this will matter, but I am doing this in Rails 3.1.0 using the jquery-datatables-rails gem.

4

1 回答 1

0

您可以使用 jQueryUI 对其进行样式设置。请参阅http://datatables.net/styling/themes。如果您不想“覆盖”它们,您可以手动编辑数据表 css 文件。

于 2012-09-30T22:01:32.020 回答