Dynamic HTML Table with Fixed Header and Fixed First column

*爱你&永不变心* 提交于 2019-12-04 23:46:55

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/21449339/dynamic-html-table-with-fixed-header-and-fixed-first-column

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!