固定标题在asp.net gridview [英] Fixed headers in asp.net gridview
本文介绍了固定标题在asp.net gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有一个要修复标题的gridview.
我得到了一些代码,该代码表明如果您将"position:relative"用作标题样式,它将可以正常工作.
它可以工作,但问题是网格中有一个水平滚动条.因此,当我移动水平滚动条时,数据会移动,但标题不会移动.
所以有人可以提供任何解决方案!
最好的问候,
Snigdharani Behera
Hi All,
I have a gridview for which i want to fix the headers.
I got some code which says if you put "position:relative" for header style, it would work.
It works, but the problem is there is a horizontal scrollbar in the grid. So when i move the horizontal scrollbar the data opnly moving but not the headers.
So could somebody give any solution!
Best Regards,
Snigdharani Behera
推荐答案
我发现本文 [< ^ ].它可以在3种浏览器中使用.它将为您提供帮助.
I found this article[^] recently. It''s working in 3 browsers. It will help you.
这篇关于固定标题在asp.net gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文