Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Gridview header will not scroll when in div

Thread Tools

Gridview header will not scroll when in div

Posts: n/a
I have gridview inside div tag that is set to 700px for width, with overflow
set to scroll.
When i load page the gridview rows-section will be at 700px, but the header
will be a fixed width of like 1000px. I am using the built in paging and
sorting as well, and have several databound fields. I also tried putting
gridview into a panel with a fixed width of 700px, and the header is still a
fixed width (i.e. does not scroll with rows).
very frustrating, can anyone help?
Reply With Quote

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
<div ... /> and <div ...></div> K Viltersten ASP .Net 4 03-31-2009 07:33 PM
Using a div with scroll bars - can we get the scroll bars on the left instead of the right side? UJ ASP .Net 1 11-01-2006 09:32 PM
How to do for a web page which have header(top), content (datagrid) with scroll bar, footer(bottom) using HTML's DIV Tag under ASP.NET? abc ASP .Net 1 04-30-2006 12:10 PM
NS/FF don't change div offsetWidth when div innerHTML is added toand div becomes wider mscir Javascript 3 06-26-2005 04:04 PM
Q: Div A inside Div B is larger than Div B Dwayne Madsen Javascript 1 06-01-2005 03:02 PM