Fires when the list view selection has changed.
Example
$("#listView").kendoListView({
change: function(e) {
// handle event
}
});
To set after initialization
// get a reference to the list view
var listView = $("#listView").data("kendoListView");
// bind to the change event
listView.bind("change", function(e) {
// handle event
}
Fires when the list view has received data from the data source.
and is about to render it.
Example
function onDataBound(e) {
// handle event
}
Fires when the list view enters edit mode.
Example
$("#listView").kendoListView({
edit: function(e) {
// handle event
});
To set after initialization
// get a reference to the list view
var listView = $("#listView").data("kendoListView");
// bind to the edit event
listView.bind("edit", function(e) {
// handle event
}
Event data
-
item
: Object
- The jQuery element to be edited.
-
model
: Object
- The model to be edited.
Fires before the list view item is removed.
Example
$("#listView").kendoListView({
remove: function(e) {
// handle event
});
To set after initialization
// get a reference to the list view
var listView = $("#listView").data("kendoListView");
// bind to the remove event
listView.bind("remove", function(e) {
// handle event
}
Event data
-
item
: Object
- The item element to be deleted.
-
model
: Object
- The model which to be deleted.