Scrolling

M

MA

Hi all!

I have a datagrid with several rows and cols. Is there a way to allways have
the header cells on the top (allways visible), but be able to scroll in the
grid?

I used <div style="OVERFLOW: auto;"> with a second datagrid, with only
headers visible, on the top. The problem with this solution is that when I
have to scroll horizontal the header stands still (it´s not included in the
div tag).

Anyone who have done this or have a solution?

//Marre
 
A

Alvin Bruney [MVP]

do a google for freeze the header, scroll the grid Dino esposito. The
article appears in aspnet pro magazine sometime last year if i recall
correctly

--
Regards,
Alvin Bruney

Shameless Author plug
The Microsoft Office Web Components Black Book with .NET
http://tinyurl.com/27cok
 
M

MA

Hi!

Well, the problem with this solution is that the header is a usual, static
table. This means that the width of the cols are static and will not follow
the width in my grid.

/Marre
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top