Question

I am using SharePoint 2007 + Windows Server 2008 with SharePoint 2007's publishing portal template. I want to add Excel style data sheet to a web page, could anyone show me how?

More details,

  1. For normal user (e.g. anonymous user), he/she could view and sort by column;
  2. For administrator, he/she could edit cells.
Was it helpful?

Solution

If your data is in a SharePoint List, you could just create a view on the List that is specifically of type DataSheet with the appropriate columns, go through the steps of adding a Web Part to your page (Site Actions-->Edit Page...) picking your SharePoint List which will use the default view initially, then choose Modify the Web Part from its dropdown menu and at the top of the new menu on the right side of the site choose your new DataSheet view you created.

Your users will now have all the functionality of the DataSheet view without having to go into the List and then picking the view. You'll have to watch out for real estate issues, especially if you have a lot of columns for users to view/edit. In that case you might want to use SP Desiner to add a new tablerow in the body that is colspan=2 to be the width of the left Web Part Zone AND the right Web Part Zone.

Hope that helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top