我没有什么好的解决办法来解决它有以下类型结构的表头和列:我们怎样才能冻结HTML表第一栏和标题
<table>
<thead>
<tr>
<th colspan="4">Current</th>
<th colspan="4">New/Requested</th>
</tr>
<tr>
<th nowrap="nowrap">RSD </th>
<th nowrap="nowrap">CRSD </th>
<th nowrap="nowrap">MSD </th>
<th nowrap="nowrap">Open QTY </th>
<th nowrap="nowrap">CRD </th>
<th nowrap="nowrap">CRSD </th>
<th nowrap="nowrap">MSD </th>
<th nowrap="nowrap">Open QTY </th>
<th nowrap="nowrap">Action</th>
<th nowrap="nowrap">Reason</th>
<th nowrap="nowrap">Action Code Status </th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
.....plenty of rows
</tr>
</tbody>
</table>
,并通过Ajax调用得到填充, 请提供一个很好的解决方案,我可以使用我以前的css。 (意味着它不需要任何css更改)。
如果你没有在你的头使用合并单元格,此作品不错http://fixedheadertable.com/但如果你使用合并单元格时,跨越列将隐藏起来。 –
只有RSD列 – user1397770
这个链接是很好的解决方案,但我必须使用他们的CSS ..你能告诉我如何使用这个解决方案,而不必改变我以前的CSS(我也想修正列) – user1397770