title: Custom template in kendo-ui grid column with inconsistent data type
body: <p>I need to use kendo-ui grid for data editing. Problem is that every possible item in returned response is string, but which contains other types of value (eg Value = "true" or Value = "32%" or Value = "[0:standard, 1:advanced]").</p>
  
  <p>So I need to set up template on grid to correspond different data type within string. 
  So for true/false i have to have checkbox, for 32% it should provide text box but with percent validation, for array response it needs to be a drop down.</p>
  
  <p>I managed to set up drop down and text box options using editor, but I cannot make checkbox to handle properly in any way. Checkbox is displayed as expected, but whatever I try it won't bind data to the grid after grid is saved. (it is always not checked, regardless of value)</p>
  
  <p>Here is code snippet of column "value" and what I used for template (item.type === "3" is boolean).</p>
  
  <pre><code>                        field: 'value',
                          title: 'value',
                          headerAttributes: {
                              'class': 'table-header-cell'
                          },
                          template: function (item) {
                                  if (item.type === "3") {
                                      var boolValue = (/true/i).test(item.value);
                                      item.value = boolValue;
                                      return  '&lt;input id="' + item.name+ '" type="checkbox" #= value ? \'checked="checked"\' : "" # class="chkbx" /&gt;';
                                  } else {
                                      return ''; //this will follow for other types
                                  }
                              },
  </code></pre>
  
  <p>Thanks in advance.</p>