Is there a way to get the row number for the row on which the select button was clicked, i think we should be able to get it from event arguments. I tried looking through the object inspector in visual studio for the javascript event object "e" for the row number but was unable to find it. We are currently using kendo UI, asp.net mvc 4.0 and kendo MVVM. Please advise, the vent is getting fired but i cannot get the row number
//column definition for button
{ "command":{"text" : "Details", "name":"selectClicked", click:inactiveDistrictVM.selectClicked } },
//the event delaraion
editDistricts: function (e) {
debugger;
var elem = this.get("districtsSource").at(0);//we need to replace the 0 with row number
}
//column definition for button
{ "command":{"text" : "Details", "name":"selectClicked", click:inactiveDistrictVM.selectClicked } },
//the event delaraion
editDistricts: function (e) {
debugger;
var elem = this.get("districtsSource").at(0);//we need to replace the 0 with row number
}