title: kendo grid delete command not working
body: <p>i have developed a web application using <strong>kendo ui tools</strong> and theres a kendo grid with <strong>batch edit mode</strong>..</p>
  
  <p>but when i press the delete button for any record in kendo grid it will erase from the list in grid but actually not in the data source.when i reload the page or grid the deleted item will still exist..</p>
  
  <p>here is the code of my grid</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div id="grid"&gt;
          &lt;/div&gt;
          &lt;script type="text/javascript"&gt;
  
              $("#submitMarketUser").click(function () {
                  var grid = $("#grid").data("kendoGrid");
                  var dataSource = new kendo.data.DataSource({
                      transport: {
                          read: {
                              url: "WholeSaleTrade/GetTradeProductDetail",
                              dataType: "json",
                              data: {
                                  test: $("#Names").val()
                              }
                          },
                          destroy: {
                              url: "WholeSaleTrade/DeletePro",
                              type: "POST",
                              dataType: "jsonp",
                              data: {
                                  DAKy: $("#Names").val(),
                                  DIKy: $("#btntxt").val()
                              }
                          },
                          create: {
                              url: "WholeSaleTrade/CreateProduct",
                              type: "POST",
                              dataType: "jsonp",
                              data: {
                                  AKy: $("#Names").val(),
                                  IKy: $("#btntxt").val()
                              }
                          }
                      },
                      pageSize: 5,
                      schema: {
                          model: {
                              id: "ProductKey",
                              fields: {
                                  ProductKey: { editable: false, nullable: true },
                                  ProductName: { validation: { required: true} }
                              }
                          }
                      }
                  });
                  $("#grid").kendoGrid({
                      dataSource: dataSource,
                      editable: true,
                      toolbar: ["create", "save"],
                      autobind: true,
                      pageable: true,
                      columns: [
                          { field: "ProductName", title: "Product Name",
                              editor: function (container, options) {
                                  var model = options.model;
                                  $('&lt;input id="btntxt" name="' + options.field + '"/&gt;').appendTo(container).kendoComboBox({
                                      dataSource: {
                                          type: "POST",
                                          transport: {
                                              read: {
                                                  url: "MarketInformation/PopulateProducts",
                                                  success: function (data) {
                                                      var prod = data[0];
                                                      model.set("ProductName", prod.ItmNm);
                                                      model.set("ItmKy", prod.ItmKy);
                                                      model.set("UserKey", $("#Names").val());
                                                  }
                                              }
                                          }
                                      },
  
                                      dataValueField: "ItmKy",
                                      dataTextField: "ItmNm"
                                  });
                              }
                          },
                          { command: ["destroy"], title: "&amp;nbsp;" }
                      ]
                  });
              });
  
          &lt;/script&gt;
  </code></pre>
  
  <p>can not identify that where is the fault going and can somebody please help me to solve this matter.</p>