冻结gridview中的标题行 [英] freezing header row in gridview
本文介绍了冻结gridview中的标题行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我的网格有超过50行和10列,所以当我向下滚动屏幕时.
标题行也会滚动.所以我想冻结标题行.
请让我知道是否有人可以解决它.
在此先感谢您.
Hi All,
My grid is having more than 50 rows and 10 columns so when i scroll down the screen.
Header row also gets scrolled. So i want to freeze the header row.
Kindly let me know if anybody has a solution to it.
Thanks in advance.
推荐答案
Google搜索-冻结标头gridview [ ^ ]
使用CSS&您可以使用Javascript来实现.本文将为您在3种浏览器(Internet Explorer,Mozilla Firefox和Google Chrome)中使用提供帮助. 带有固定标题的网格视图 [
Using CSS & Javascript you can achieve that. This article will help you which is working in 3 browsers(Internet Explorer, Mozilla Firefox, and Google Chrome). Grid View with fixed header[^]
如果需要,您可以为滚动条添加样式,并在上面添加Div网格
You can add style for scroll bar if you need and add Div above the grid
这篇关于冻结gridview中的标题行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文