【发布时间】:2016-01-20 12:21:39
【问题描述】:
我有下表,第一列是固定的。
JSFiddle:
https://jsfiddle.net/f7v2xaph/
<iframe width="100%" height="300" src="//jsfiddle.net/f7v2xaph/embedded/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
我想问一下,如何更新代码以获得固定的标题?
我试过这个解决方案
Scrollable table with fixed header in bootstrap
但是没有运气来处理固定的第一列。
非常感谢您的建议。
【问题讨论】:
-
您是否尝试过这些 solutions given here 或以您现在的方式为第一个
th,this fiddle 为所有@ 987654327@ -
谢谢,但在您的小提琴中移动标题存在问题。
-
@redrom 什么问题??
-
在小提琴中你链接了。如果您水平移动,则航向未正确更新。
-
那是因为您所说的第一个小提琴的方式是先修复它,然后通过克隆元素来习惯它..
标签: jquery css twitter-bootstrap gridview