SP.View.viewQuery Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets or sets a value that specifies the query that is used by the list view.
var value = SP.View.get_viewQuery();
SP.View.set_viewQuery(value);
Property Value
Type: String
Applies To
Remarks
It must be null or a valid XML fragment that conforms to CamlQueryRoot.