Click here to Skip to main content
15,896,539 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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


XML
$(document).ready(function() {

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

        ScrollHeight: 500,

        IsInUpdatePanel: true

    });
});



.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.
Posted
Comments
Because there is a fixed width associated wit the class. Try with auto.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900