title: KendoUI- Adding an array to a data source?
body: <p>In KendoUI can you add an array to a data source used in a grid. 
  This array is being dynamically generated.</p>
  
  <p>Looking for a way to loop through the elements possibly and assign them.</p>
  
  <p>This is what I want to <strong>avoid</strong>:</p>
  
  <pre><code>var movies = [
      { title: "Star Wars: A New Hope", year: 1977 },
      { title: "Star Wars: The Empire Strikes Back", year: 1980 },
      { title: "Star Wars: Return of the Jedi", year: 1983 }
  ];
  
  var localDataSource = new kendo.data.DataSource({ data: movies });
  </code></pre>