var instance = new wijmo.data.AjaxDataView();
function AjaxDataView;
var instance = new wijmo.data.AjaxDataView();
function AjaxDataView;
Object
wijmo.data.RemoteDataView
wijmo.data.AjaxDataView
wijmo.data.ODataView
Name | Description | |
---|---|---|
AjaxDataView 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 | ||
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 | The 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. | |
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. |