Gridview标题冻结 [英] Gridview Header Freezing

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

问题描述

大家好,



我在Gridview Header Freezing中遇到问题。我正在使用Jquery插件。使用jquery插件在我使用下面的CSS也。下面你可以找到我的代码。



Jquery





Hi All,

I m facing problem in "Gridview Header Freezing".I am using Jquery plug in. with jquery plug in i m using below css also. Below you can find my code.

Jquery


$(document).ready(function() {

    $('#<%=gvSuccessful.ClientID %>').Scrollable({

        ScrollHeight: 500,

        IsInUpdatePanel: true

    });
});







.GVFixedHeader

{

font-weight:bold;

background-color:blue;

position :绝对;

宽度:1792px;

top:表达式(this.parentNode.parentNode.parentNode.scrollTop-1);

}



开发标题冻结即时宽度问题。网格宽度的标题与我的网格值不同。





请有人帮帮我。




.GVFixedHeader
{
font-weight: bold;
background-color: blue;
position: absolute;
width: 1792px;
top: expression(this.parentNode.parentNode.parentNode.scrollTop-1);
}

While developing header freezing i m facing width problem. My header of the grid width is different from my value of the grid.


Please anyone help me.

推荐答案

(document).ready(function(){
(document).ready(function() {


('#<% = gvSuccessful.ClientID %> ')。可滚动({

ScrollHeight:500,

IsInUpdatePanel :true

});
});
('#<%=gvSuccessful.ClientID %>').Scrollable({ ScrollHeight: 500, IsInUpdatePanel: true }); });







.GVFixedHeader

{

font-weight:bold;

background-color:blue;

position:绝对;

宽度:1792px;

top:表达式(this.parentNode.parentNode.parentNode.scrollTop-1);

}



开发标题冻结即时宽度问题。我的网格宽度标题与我的网格值不同。





请有人帮助我。




.GVFixedHeader
{
font-weight: bold;
background-color: blue;
position: absolute;
width: 1792px;
top: expression(this.parentNode.parentNode.parentNode.scrollTop-1);
}

While developing header freezing i m facing width problem. My header of the grid width is different from my value of the grid.


Please anyone help me.


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

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