Wijmo UI for the Web
ODataView Class
wijmo.data Namespace : ODataView Class
The ODataView object allows you to create a REST-based protocol for CRUD (create, read, update, delete) operations against resources exposed as data services.
Syntax
var instance = new wijmo.data.ODataView();
function ODataView;
Inheritance Hierarchy

Object
   wijmo.data.AjaxDataView
      wijmo.data.ODataView

Constructors
 NameDescription
public Constructor  
Top
Methods
 NameDescription
public MethodAdds a new element and marks it as being edited.  
public Method  
public MethodReturns a value that indicates whether the add(item) method is implemented.  
public MethodReturns a value that indicates whether the addNew() method is implemented.  
public MethodReturns a value that indicates whether the current changes can be canceled.  
public MethodCancels the changes made to the currently editing element since the editing was started.  
public Method  
public MethodReturns a value that indicates whether the current changes can be committed  
public MethodReturns a value that indicates whether the data view supports filtering.  
public MethodReturns a value that indicates whether the remove method overloads are implemented.  
public MethodReturns a value that indicates whether the data view supports sorting.  
public MethodCommits the changes made to the currently editing element  
public MethodReturns the number of items in the current view after client-side filtering/sorting/paging have been applied.  
public Method  
public MethodStarts editing of an element at the index.  
public MethodReturns properties for elements in the view.  
public MethodReturns the current value of the property in the element at the specified index.  
public MethodReturns the element array before applying client-side filtering/sorting/paging.  
public MethodReturns the index of the element in current view  
public MethodReturns a value indicating whether the element being edited is added by the add(item) methods.  
public MethodReturns an element in the view by index.  
public Method  
public Method  
public MethodThe refresh method reloads the DataView, and provides an object to which you can bind event handlers such as the .then() method. See deferred.then() in the jQuery API documentation for more information.  
public MethodRemoves an element at the specified index.  
public MethodSets the value of the property in the element.  
public MethodRegisters Subcription of changes for current view.  
public MethodConverts the element array of current view after filter, sort and paging have been applied to Obervable Array.  
public MethodTriggers the changes for current view.  
Top
See Also

Reference

wijmo.data Namespace
OData Web Service