title: Kendo ui datagrid - Insert new row by fetching value from textbox
body: <ul>
  <li>I have a text box when I copy the file path which is present in my machine in the text box and hit save. I need to save that  file in the kendo grid.</li>
  <li>can you guys tell me how to do it.</li>
  <li>got the grid and the text box.</li>
  <li>but not sure how to save the file in the grid.</li>
  <li>providing my code in the fiddle.</li>
  </ul>
  
  <p>Here is my demo: 
  <a href="http://jsfiddle.net/6ozr348y/1/" rel="nofollow noreferrer">http://jsfiddle.net/6ozr348y/1/</a></p>
  
  
  
  <pre class="lang-or-tag-here prettyprint-override"><code>$(document).ready(function() {
      var grid = $("#grid").kendoGrid({
          dataSource: {
          data: [
              { FileName: 'need to get the value from the text box', LastName: 'LastName'},
              { FileName: 'need to get the value from the text box', LastName: 'LastName'},
              { FileName: 'need to get the value from the text box', LastName: 'LastName'},
              { FileName: 'need to get the value from the text box', LastName: 'LastName'},
              { FileName: 'need to get the value from the text box', LastName: 'LastName'}],
              schema: {
                  model: {
                      fields: {
                          FileName: { type: "string" },
                          LastName: { type: "string" }                    }
                  }
              },
              sort: {
                  field: "FileName",
                  dir: "asc"
              },
              pageSize: 10
          },
          height: 500,
          scrollable: true,
          sortable: true,
          selectable: true,
          filterable: true,
          pageable: true,
          columns: [
              {
                  field: "FileName",
                  title: "File Name"
              },
              {
                  field: "LastName",
                  title: "Last Name"
              }
          ]
      }).data("kendoGrid");
  
      grid.tbody.parents(".k-grid-content").eq(0).kendoScroller({ useOnDesktop: false });
  });
  </code></pre>