GridView : Freezing First Columns and Freezing Column's Headers

倾然丶 夕夏残阳落幕 提交于 2019-12-10 17:55:53

问题


Hi any body can tell how to freeze gridview Header and some two colums based on axis there fore a gridview should have both vertical and horizontal scroll so that when scrolling vertically need to freez the header and when scrolling horizontally freeze the columns.


回答1:


Hay I have found an effective way to freez grid header. Ultimately the grid is rendered as table. So follow this fiddle that I have developed http://jsfiddle.net/jogendra09/BCrXZ/65/. It's an unique way to freez header. I have developed it for chrome, but can be modified to maintain cross-browser compatibility . And yes, It uses jQuery.



来源:https://stackoverflow.com/questions/3732824/gridview-freezing-first-columns-and-freezing-columns-headers

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