Question

I am working on a project in sharepoint 2010. I have a list view web part on a page. Currently it is just pulling and displaying data like a standard table view. Is there a way that I can edit the webpart to display the data using a custom xsl style. I have a custom xsl stylesheet and custom xsl, but I don't know how to make the list view reference this?

Was it helpful?

Solution

You can't change the ListView WebPart output in 2010, that is why I referred to the Content QUery WebPart

In SP2013 Microsoft added CSR (Client Side Rendering) JavaScript and the option to JSLink your JS file to a ListView webpart.

Note that all this Client Side goodness was disabled again (spring 2016) in SharePoint Online "Modern Experiences"

Till now (spring 2017) Microsoft does not allow any branding in "Modern Experiences", no CSS no JavaScript, no anything

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