Alternative to SharePoint Data Views using JQuery

One of the nuisances of SharePoint is SharePoint Designer.

“Path to SharePoint” provides a good alternative to this here: http://pathtosharepoint.wordpress.com/2009/01/22/a-simple-method-to-disp…

Two options are an iFrame or, what I opted for, JQuery:
#
# Christophe@PathToSharePoint.com –>
#
#
#
# // Paste the URL of the source list below:
# var SelectedView = “http://domain.com/SiteCollection1/SourceSite/SourceList/MyView.aspx”;
# $(“#ListPlaceholder”).load(SelectedView+” #WebPartWPQ1 .ms-listviewtable”,function() {
# $(“#ListPlaceholder *”).removeAttr(“id”);
# $(“#ListPlaceholder *”).removeAttr(“onclick”);
# $(“#ListPlaceholder *”).removeAttr(“onfocus”);
# $(“#ListPlaceholder *”).removeAttr(“onmouseover”);
# });
#

Thanks, Christophe!

One thought on “Alternative to SharePoint Data Views using JQuery

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s