你好,我有如下的JSP,如何更改第一列的背景颜色在数据表
<div id="dynamic">
<table cellpadding="0" cellspacing="0" border="0" class="display"
id="example">
<thead>
<tr>
<th width="10%">First Name</th>
<th width="10%">Last Name</th>
<th width="10%">Address 1</th>
<th width="10%">Address 2</th>
</tr>
</thead>
</table>
</div>
上面的代码与jQuery数据表同步。当我运行它时,排序的列有不同的颜色。但是当我选择一行时,我希望它改变。你能帮忙吗?
感谢您的回复。我尝试了以下所有建议,但不幸的是,它们都不工作:( **观察:仅用于排序列,我无法更改背景颜色。** –