Forum Discussion

Anisha Ashokan's avatar
Anisha Ashokan
Copper Contributor
May 19, 2017

Freeze rows in sharepoint list

Hi Everyone,

 

I have about 100 items in my sharepoint list.I have a requirement wherein the list header and first three rows has to be freezed on scrolling down through the list.I could freeze the header row using javascript.Can someone suggest me how can I achieve the same for first three rows in list.

 

Regards

Anisha Ashokan

 

  • I would drop 2 list webparts on to the page, the first webpart, modify the view to show the first 3 rows.

     

    The second webpart, modify the view to show the rest of the rows.

    • DomN's avatar
      DomN
      Brass Contributor
      haha, well played, touche!
      • Richard Bourke's avatar
        Richard Bourke
        Iron Contributor
        Thanks, I guess I'm good at avoiding writing code :-) . Although.. thinking about it, not sure it addresses the initial freezing requirement. Maybe drop the 2nd webpart in a scrollable DIV on the page?

Resources