var instance = new wijmo.data.RemoteDataView();
function RemoteDataView;
The RemoteDataView is the base class of all types of DataView when used to get data remotely: AjaxDataView, ArrayDataView, BreezeDataView, and ODataView.
It is not to be used directly.
var instance = new wijmo.data.RemoteDataView();
function RemoteDataView;
Similarly, ArrayDataViewBase is the base class for all types of DataView.
Object
wijmo.data.ArrayDataViewBase
wijmo.data.RemoteDataView
wijmo.data.AjaxDataView
wijmo.data.BreezeDataView
Name | Description | |
---|---|---|
RemoteDataView Constructor |
Name | Description | |
---|---|---|
add | Adds a new element and marks it as being edited. | |
addNew | ||
canAdd | Returns a value that indicates whether the add(item) method is implemented. | |
canAddNew | Returns a value that indicates whether the addNew() method is implemented. | |
canCancelEdit | Returns a value that indicates whether the current changes can be canceled. | |
cancelEdit | Cancels the changes made to the currently editing element since the editing was started. | |
cancelRefresh | Cancels the ongoing refresh operation | |
canCommitEdit | Returns a value that indicates whether the current changes can be committed | |
canFilter | Returns a value that indicates whether the data view supports filtering. | |
canRemove | Returns a value that indicates whether the remove method overloads are implemented. | |
canSort | Returns a value that indicates whether the data view supports sorting. | |
commitEdit | Commits the changes made to the currently editing element | |
count | Returns the number of items in the current view after client-side filtering/sorting/paging have been applied. | |
dispose | ||
editItem | Starts editing of an element at the index. | |
getProperties | Returns properties for elements in the view. | |
getProperty | Returns the current value of the property in the element at the specified index. | |
getSource | Returns the element array before applying client-side filtering/sorting/paging. | |
indexOf | Returns the index of the element in current view | |
isCurrentEditItemNew | Returns a value indicating whether the element being edited is added by the add(item) methods. | |
item | Returns an element in the view by index. | |
nextPage | ||
prevPage | ||
refresh | Reloads the data view. | |
remove | Removes an element at the specified index. | |
setProperty | Sets the value of the property in the element. | |
subscribe | Registers Subcription of changes for current view. | |
toObservableArray | Converts the element array of current view after filter, sort and paging have been applied to Obervable Array. | |
trigger | Triggers the changes for current view. |