title: Setting KendoGrid dataSource dynamically
body: <p>Is there a way to set the dataSource using a string containing the data to display in a KendoGrid. Assuming the columns in data string matches the column definitions in the grid, I've attempted the line:</p>
  
  <pre><code>var ds = new kendo.data.DataSource ({ data: dataString });
  </code></pre>
  
  <p>where dataString is of the format "{ column1: value1, column2: value2 }" or "[ { column1: value1, column2, value2 } ]" followed by:</p>
  
  <pre><code>$(gridId).data('kendoGrid').setDataSource(ds);
  </code></pre>
  
  <p>to set new grid dataSource, however this approach is not working.</p>
  
  <p>I can work around this by parsing the dataString into an object then adding this object to an array &amp; using this array as the parameter for the data attribute when defining ds.</p>
  
  <p>Is there a more efficient way to assign new data to a kendoGrid using a string containing the data to display?</p>