css for freezing header in gridview
-
Hi, I am using gridview component and b'cas of lengthy data i need to freeze my grid header for its height. N!dh! :)
You can Freeze. This is you CSS Class
.HeaderFreez { position:relative ; top:expression(this.offsetParent.scrollTop); z-index: 10; }
and set
GridView
HeaderStyle
as followingcheers, Abhijit CodeProject MVP My Recent Article : Exploring Session in ASP.Net
-
You can Freeze. This is you CSS Class
.HeaderFreez { position:relative ; top:expression(this.offsetParent.scrollTop); z-index: 10; }
and set
GridView
HeaderStyle
as followingcheers, Abhijit CodeProject MVP My Recent Article : Exploring Session in ASP.Net
I stand corrected. That's pretty sweet.
I didn't get any requirements for the signature
-
You can Freeze. This is you CSS Class
.HeaderFreez { position:relative ; top:expression(this.offsetParent.scrollTop); z-index: 10; }
and set
GridView
HeaderStyle
as followingcheers, Abhijit CodeProject MVP My Recent Article : Exploring Session in ASP.Net
-
Hi, In this case our header is not constant,i need header to be constant and inside grid records should be moved N!dh! :)
NidhiKanu wrote:
In this case our header is not constant,i
I didn't get you :confused: . It is not freezing your grid header? You can also read This[^] article.
cheers, Abhijit CodeProject MVP My Recent Article : Exploring Session in ASP.Net
-
NidhiKanu wrote:
In this case our header is not constant,i
I didn't get you :confused: . It is not freezing your grid header? You can also read This[^] article.
cheers, Abhijit CodeProject MVP My Recent Article : Exploring Session in ASP.Net
Ya i want same thing but wen i apply it on my grid,some time it happen that header become invisible or while scrolling on grid my header goes invisible after some time it goes visible.Is there any solution for it N!dh! :)
modified on Tuesday, January 27, 2009 12:36 AM