动态HTML表与固定标题和固定第一列 [英] Dynamic HTML Table with Fixed Header and Fixed First column

查看:384
本文介绍了动态HTML表与固定标题和固定第一列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在动态地创建一个html表并填写其内容。之后,我将完整的HTML添加到已经在我的aspx页面上的div中。我想修复动态表的头和它的第一列。到目前为止,我已经尝试过FixedHeader,datatable和fixedcolumn插件,但似乎没有任何工作。



如果我需要一些CSS或者其他的东西丢失,请帮助。 >

解决方案

如果准备建立一个这样我可以帮助你。



小提琴演示 p>

我已经使用jquery的 .scroll()检查你是否可以



请告诉我是否有帮助。


I am creating a html table dynamically and filling in its contents. After that I add the complete HTML to a div already on my aspx page. I want to fix the header of the dynamic table and its first column. So far I have tried FixedHeader,datatable and fixedcolumn plugins but nothing seems to be working.

Kindly help if I need some css or something else I am missing.

解决方案

Hi if are ready to built one of such i can help you with that.

check out the following fiddle for demo if it helps.Fiddle Demo

I have used jquery's .scroll() check if u can

Please tell me if it helps.

这篇关于动态HTML表与固定标题和固定第一列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆