Hi, Above code was tested on SharePoint 2010 and worked perfectly.You can do some Troubleshooting:1. Check Table GUID .2. Add this code in HTML form WebPart on List view page.3. Keep HTML form WP at the bottom of the page.4. Check JQuery file Reference link.

Hi Amit, I used your solution.. but the header isn’t frozen. I’m using SP 2010 with IE 9. I think that the CSS Style “.DataGridFixedHeader“ does not working with IE9. Specially the “top: expression (this.offsetParent.scrollTop);“. The JQuery is working the header is using the CSS Class and appears gray…When I switch the browser to IE7, the header row is working as expected. Do you have any hints for me?

Amit, Thank you so much for this. The code worked for me but I have a follow up question. After I was able to freeze the header row, the header row now covers up the first few lines of the first row of data. Additionally, the header columns no longer align with the columns in my list. Have you heard of these issues? Any help is greatly appreciated!

The code worked for me too but I also have the same question as above. After I was able to freeze the header row, the header row now covers up the first few lines of the first row of data. Additionally, the header columns no longer align with the columns in my list. Any help is greatly appreciated!

First of all good news is! I have implemented new jquery plug-in to freeze the list headers as well as columns. I will post it in few days. Just stabilizing it for all browsers and Office 365. No worries :)

And I apologies for inconvenience caused as I didn’t replied on few comments.

If someone could take a moment to help me make this code work. I have replaced the LIST and VIEW IDs, and changed the position to absolute. It is inserted into the HTML Form webpart. When I run through developer tools in IE11 (which is emulating IE8) there are no errors. I would very much appreciate any help.

About Me

Expert on Microsoft Collaborative Technologies (SharePoint, Microsoft Online Services, Office 365); Software Engineer and currently work as a SharePoint Consultant, Pune-India. Hold an Engineering Degree in IT from Pune University; MCP (SharePoint Applications). Declaimer: I make no claims anything you read here is technically correct although I do attempt to prove my thinking through research and experience; your comments are important so please feel free to add your thoughts or queries. "Hope someone might find this useful".