我想在 HTML 中创建一个具有可调整大小的列的表格。我也想要滚动条到表格,但表格标题在滚动时应保持固定。
请帮忙。
最佳答案
Just create a basic valid HTML like the example below. But note that the hierarchy must be :
- table > thead > tr > th - table > tbody > tr > td
$('#4').fixheadertable({
caption : 'My employees',
colratio : [50, 150, 150, 150, 220, 150],
height : 200,
width : 800,
zebra : true,
resizeCol : true,
minColWidth : 50
});
关于jquery - 如何使用 jQuery 在带有滚动条的 html 中创建可调整大小的表格?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10528065/