0
我想冻结附加图片中标题和表格的前两列。我尝试了一些插件,但无法实现结果。带固定标题和固定列的HTML数据表
CSS
.outer {position:relative}
.inner {
overflow-x:scroll;
overflow-y:scroll;
height: 400px;
*width:91%;
*margin-left:100px;
}
HTML
<div class='outer'>
<div class='inner'>
<table id='MyTable' class='table table-striped table-bordered table-hover dataTable'>
<thead id='theadMR'></thead>
<tbody id='tbodyMR'></tbody>
</table>
</div>
</div>
附图片的前两列? –
http://tympanus.net/Tutorials/StickyTableHeaders/index3.html –