I am opening my list in the sharepoint designer 2010.I want to edit the dataview webpart and also adding an javascript file to show or hide columns.Where can i add the script?
can u give some information?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Jun 26, 2012, 8:06 AM
http://www.learningsharepoint.com/forum/sharepoint-2010-programming/hide-columns-in-the-lists-using-dataview-webpart/
You can add the javascript inside your xslt template.
http://jeestirling.info/wp/2011/05/27/javascript-in-data-view-web-part-xslt/
http://docs.teamlink.be/collaborate/PublicBlog/Lists/Posts/Post.aspx?ID=2
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/1cde21cf-378b-4b6c-8d59-2bd6148c07d4/