title: how to get values of checked rows in kendo ui grid?
body: <p>I am trying to get the rows value of selected rows in a kendo grid. Please see the <a href="http://jsfiddle.net/D6GWf/1/" rel="nofollow">demo here</a>. For example, on a button click, i like to get all the names or ids of selected rows as an array or comma separated string. how can i do that? thanks.</p>
  
  <p>Kendo grid</p>
  
  <pre><code>      $('#getNames').click(function(){
  
  //how to get all the names of selected rows?
  alert('you have selected these people:')
  
      });
  
  $("#grid").kendoGrid({
                      dataSource: {
                          type: "odata",
                          transport: {
                              read: "http://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers"
                          },
                          pageSize: 10
                      },
                      groupable: true,
                      sortable: true,
                      pageable: {
                          refresh: true,
                          pageSizes: true,
                          buttonCount: 5
                      },
                      columns: [
                          {
                              field: "", title: "", template: "&lt;input type='checkbox' name='selectcandidate' /&gt;"
                          },
                          {
                          field: "ContactName",
                          title: "Contact Name",
                          width: 200
                      }, {
                          field: "ContactTitle",
                          title: "Contact Title",
                          width: 250
                      }, {
                          field: "CompanyName",
                          title: "Company Name"
                      }, {
                          field: "Country",
                          width: 150
                      }]
                  });
  </code></pre>