views:

821

answers:

3

I know this topic has been asked, but the posts are all out of date, or not functional on IE8.

In brief we basically want to do the excel style locking of column headers in a GridView.

I have seen a couple of solutions one jquery+ css(setExpression) which doesn't work in IE8. And another that uses ajax extensions, yet again doesn't work in IE8.

I have been through every solution in the below link and have yet to find a working implementation for IE8.

http://stackoverflow.com/questions/2205271/gridview-how-to-make-fixed-header-row

I see telerik has an implementation that is more thank what i want, this is such a simple concept I can believe i am going to have to buy a toolkit...

+1  A: 

This is a solution that its working on ie8 - at least on my ie8.

Here are some demos: http://fixedheadertable.com/livedemos/

And here is one more with source code http://www.dotnetcurry.com/ShowArticle.aspx?ID=255

And one more (good idea) http://datawebcontrols.com/demos/ScrollableDataGridFixedHeader.aspx

Aristos
" FixedHeaderTable.com" is using html tables not asp GridViews, and i have tried dotnetcurry and it did not work. Looking at the last now.
Nix
Why are you dead set on using a gridview instead of an html table? I would think you'd want to go with the web standard...
Matrym
I am using ASP.NET there is no reason to use Tables.
Nix
A: 

"Here is one more solution". Which one, there are so many on that page. And if so, how do you implement it on a ASP.NET gridview instead of a simple HTML table?

AspNetCrazy
I take it you are referring to the post below? Which has nothing to do with my question or comments?
Nix
A: 

After searching the depths of the internet, the only* implementation that I found is by IdeaSparks. It provides an opensource custom GridView implementation that allows:

  1. Display fix column headers, footer and pager
  2. Supports scrollable content
  3. User-resizeable column widths (New!)
  4. Maintains scroll position and column widths after a postback or callback (New!)

My only complaint is that it requires you to use fixed columns...

Nix