GridView:冻结第一列和冻结列的标题 [英] GridView : Freezing First Columns and Freezing Column's Headers

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

问题描述

您好,任何人都可以说出如何冻结gridview标头和一些基于轴的列,因此gridview应该同时具有垂直和水平滚动,以便在垂直滚动时需要冻结标头和在水平滚动时冻结列. /p>

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.

推荐答案

我已经找到一种冻结网格标题的有效方法.最终,网格呈现为表格.因此,按照这个小提琴,我已经开发了 http://jsfiddle.net/jogendra09/BCrXZ/65/.这是冻结标头的独特方法.我已经为Chrome开发了它,但是可以对其进行修改以保持跨浏览器的兼容性.是的,它使用jQuery.

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.

这篇关于GridView:冻结第一列和冻结列的标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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