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