Thursday, June 12, 2014

kendo grid column bindable checkbox is not working

bind your grid check box column field

 { field: "SelectStatus", width: "10%",   
       template: "<input type='checkbox' #= SelectStatus ? checked='checked':'' # class='chkbx' />" }  

use the script:

  // Customer grid check event  
   $(function () {  
     $('#CustomerInfoKendoGrid').on('click', '.chkbx', function () {  
       var checked = $(this).is(':checked');  
       var grid = $('#CustomerInfoKendoGrid').data().kendoGrid;  
       var dataItem = grid.dataItem($(this).closest('tr'));  
       dataItem.set('SelectStatus', checked);  

Ensure that this project has Microsoft.Bcl.Build installed and packages.config is located next to the project file

In my Xamarin form application their was dependency Restclient on Microsoft.Bcl.Build Microsoft.Bcl. i just remove all using nuget and ...