Wijmo UI for the Web
ArrayDataViewBase type
wijmo.data Namespace : ArrayDataViewBase type

The ArrayDataViewBase is the base class of all types of DataView: AjaxDataView, ArrayDataViewBreezeDataView, and ODataView.

It is not to be used directly.

Syntax
var instance = new wijmo.data.ArrayDataViewBase();
function ArrayDataViewBase;
Remarks

Similarly, RemoteDataView is the base class for all types of DataView to get data remotely.

Inheritance Hierarchy

Object
   wijmo.data.ArrayDataViewBase
      wijmo.data.ArrayDataView
      wijmo.data.RemoteDataView

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 MethodCancels the ongoing refresh operation  
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 Method

The refresh method reloads the DataView, and returns a resolved promise object:

$.Deferred().resolve().promise()

 
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
Data