Does IE 6.x support <tbody style="overflow... attribute?

J

James Radke

Hello,

Does anyone know if any version of IE6 and higher supports the <tbody
overflow....>
attributes to allow us to easily put scroll bars around the table body while
keeping the headers fixed?

If it isn't native to IE6, is there a patch or some other page command that
add's this functionality?

Thanks!

Jim
 
J

James Radke

Alvin,

Yes, that is pretty much what I am trying to do.

In more detail, I found some examples on the web (see
http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=1545&lngWId=10
or the test_repeater at
http://www.v4cnet.com/articles/aspdotnet/aspdotnet_004.xml ) that show me
how to sort a datagrid (or datalist or repeater) via javascript client-side
by clicking on the table header column; the sort is then done with no
postback/page flicker and the up or down arrow is also placed in the header
of that column (note: one of the samples even provides column drag-and drop
table re-arranging on the client side).

Unfortunately, the header rows are not fixed in all these examples, and if I
put the whole datagrid (or datalist or repeater) within a div, the headers
will scroll off the top. What I would like to do is to only scroll the body
of the datagrid OR if I could figure it out, use a second table for the
fixed headers BUT still allow the sorting to happen on the main data table
when the fixed header is clicked on - and I haven't been able to figure that
part out either (probably because I am weak with my javascript coding).

From my reading, that is what the <tbody style="overflow:scroll"> should
do... only scroll the body of the table. But, it doesn't seem to be
implemented in IE, or I am not calling it correctly.

Any ideas?

Jim
 
A

Alvin Bruney

Dino esposito has covered this issue in the october issue of aspnetpro. The
code should be available online as well to subscribers. THe article is the
cover story called Freeze the header scroll the grid. Using two grids
doesn't work well. They go out of alignment depending on whether the cells
contain empty values.
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top