Hello,
I applied the javscript code from the following link.
http://www.aspsnippets.com/Articles/Dynamically-freeze-ASP.Net-Gridview-header-using-JavaScript.aspx
I also tried the jquery snippet. I cannot add more than 14 columns to the gridview, otherwise the headers do not align. Is this a know issue?
Also can you plase explain why you have used ---- parseInt(width - 3) + "px" ----- in your code instead of just ----- parseInt(width) + "px" ---- i am new to javascript.
I downloaded your code (javascript and jquery) and added sqldatasouce to use my stored procedure. It works well for upto 14 columns in gridview.
When i added the javascript logic to my existing gridview with its own objectdatasource, the scrollbar does not appear. Why could this be?
I really appreciate all your help. Thanks.