asp.net mvc - how to get values of checked rows in kendo ui grid? -
I am trying to get the values of rows of selected rows in a condo grid. Please see, for example, on a button click, I have to get all the names or IDs of names selected as an array or a comma separated string. How can I do that? Thank you.
Kando Grid
$ ('# getNames'). Click (function () {// How to get all the names of the selected rows? Warning ('You have selected these people:')}); $ ("# Grid"). Kendo Grid ({Data Source: {Type: "Odata", Transport: {read: "http://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers"}, page: size: 10} Groupable: True, Sortable: Correct, Page Eligible: {Fresh: Right, Page Size: Right, ButtonCount: 5}, Columns: [[Field: "", Title: "", Template: "& lt; Input Type = 'checkbox' name = 'selectcandidate' / & gt;}, {Region: "ContactName", Title: "Contact Name", Width: 200}, {Field: "ContactTitle", Title: "Contact Title", Width : 250}, {field: "company name", title: "Company name"}, {field: "country", width: 150}]});
Comments
Post a Comment