You can get the selected items through the change event of the Grid.
change: function(e) {
varselectedRows = this.select();
varselectedDataItems = [];
for(vari = 0; i < selectedRows.length; i++) {
vardataItem = this.dataItem(selectedRows[i]);
selectedDataItems.push(dataItem);
}
// selectedDataItems contains all selected data items
}
Then you can do whatever you want with them.
0
Vladimir Iliev
Telerik team
answered on 10 Dec 2013, 02:37 PM
Hi Luz,
As Marcel already mentioned you can use the "change" event of the grid to get the currently selected rows, get their dataItem and finally pass them to the controller for example using custom Ajax request.
Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!