ViewList Event
Fired for each view.
Syntax
spview.on('ViewList', [callback])
Callback
The 'callback' is called when the 'ViewList' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.viewId e.viewName e.viewType e.viewURL e.viewIsDefault
Remarks
This event fires once for each view returned by a call to ListViews.
ViewId is the unique identifier of the view.
ViewName is the display name of the view.
ViewType is the type of view. Possible values are:
Calendar | A calendar list view |
Grid | A datasheet list view |
Html | A standard HTML list view |
ViewURL is the relative URL of the view.
ViewIsDefault indicates if the current view is the default view for the List.