HighTechTalks DotNet Forums  

Fix Header Datagrid in RTL

ASP.net Data Grid Control microsoft.public.dotnet.framework.aspnet.datagridcontrol


Discuss Fix Header Datagrid in RTL in the ASP.net Data Grid Control forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
mk2707
 
Posts: n/a

Default Fix Header Datagrid in RTL - 06-22-2009 , 10:51 AM






i'm trying to fix the datagrid header in a RTL page. i'm using the
following style:

position:relative;
top:expression(this.offsetParent.scrollTop);

but it's not working cuz the header disappears when i use the scrollbar.
how can i have a fixed header without adding a table in a seperate div
that contains the header's data above the datagrid?

can anyone please suggest how i can modify the CSS style to adjust the
top and the left of the datagrid header??

thank you

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #2  
Old   
H-Hemdan
 
Posts: n/a

Default Re: Fix Header Datagrid in RTL - 07-02-2009 , 04:05 AM






check this lessons about css

http://www.w3schools.com/css/default.asp

mk2707 wrote:
Quote:
i'm trying to fix the datagrid header in a RTL page. i'm using the
following style:

position:relative;
top:expression(this.offsetParent.scrollTop);

but it's not working cuz the header disappears when i use the scrollbar.
how can i have a fixed header without adding a table in a seperate div
that contains the header's data above the datagrid?

can anyone please suggest how i can modify the CSS style to adjust the
top and the left of the datagrid header??

thank you

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.