title: Kendo Grid does not update the grid with newly created id after creation
body: <p>I am trying to build a very simple Kendo CRUD grid with a table that has only two columns: ID and Name. I have configured the grid with serverside pagination and serverside filtering. </p>
  
  <p>Everything seems to function as expected but after the new record is created, the grid shows the new record but without the ID field. On creation, the request has ID null but I am sending the value of id and the full object after creation. In example grids, the grid is updated with new values. What do I need to change / add to ensure that the ID of the newly created record shows up in Grid as well?</p>
  
  <p>Following is the JSP:</p>
  
  <pre><code>        &lt;script&gt;
  
  
          $(function() {
              var dataSource =  new kendo.data.DataSource({
                  transport: {
                      read: {
                          url:"http://localhost:8181/baseweb/countrylist",
                          dataType: "jsonp"
                      },
                      update: {
                          url: "http://localhost:8181/baseweb/countryupdate",
                          dataType: "jsonp"
                      },    
                      destroy: {
                          url: "http://localhost:8181/baseweb/countrydelete",
                          dataType: "jsonp"
                      }, 
                      create: {
                          url: "http://localhost:8181/baseweb/countrycreate",
                          dataType: "jsonp"
                      },                        
                      parameterMap: function(data, operation) {
                          if (operation !== "read" &amp;&amp; data.models) {
                              return {grid_options: kendo.stringify(data.models)};
                          }
                          return {grid_options: kendo.stringify(data)};
                      }                       
                  },
                  serverPaging: true,
                  serverFiltering: true,
                  pageSize: 10,
                  schema: {
                      data: "data",        
                      total: "total",                     
                      model: {
                          id: "id",
                          fields: {
                              id: { editable: false, nullable: true },
                              name: { validation: { required: true } }                                
                          }
  
                      }
                  }                   
          });
  
              $("#grid").kendoGrid({
                  dataSource: dataSource,
                  pageable: true,
                  filterable: true,
                  height: 400,  
                  toolbar: ["create"],                    
                  columns: [
                            { field: "id", title:"Identification"}, 
                            { field: "name", title:"Country Name" },
                            { command: ["edit", "destroy"], title: "&amp;nbsp;", width: "160px" }
                            ],
                  editable: "popup"           
              });
          });
  
      &lt;/script&gt; 
  </code></pre>
  
  <p>Parameter Sent to the server on create:
  _   1380846899054
  callback    jQuery19108827040256333442_1380846899052
  grid_options    {"id":null,"name":"testing"}</p>
  
  <p>Parameter sent back from server as response:
  jQuery19108827040256333442_1380846899052([ {"id":"4028828f4180d64a014180e3bda20002","name":"testing"}])</p>
  
  <p>I am expecting that the ID sent back by server should be displayed in the Grid. I have searched this forum, Kendo documentation and Google for an answer but I am unable to find a solution. </p>
  
  <p>What am I missing?</p>
  
  <hr>
  
  <p><strong>Update with Solution:</strong></p>
  
  <p><a href="https://stackoverflow.com/a/19931949/2460971">Jack's answer</a> provided the clue to finding the solution. I was making two mistakes:</p>
  
  <p>a. The callback in Kendo Grid seems to expect the data back in a "data:" attribute. I was not naming the result set as "data:" in my response. 
  b. The callback also expects a JSONArray of objects in the data: attribute. I was sending a JSONObject since I was only creating one object. </p>
  
  <p>After I changed the response to include data: attribute and JSONArray, it works perfectly. 
  The request parameter from the client looks like this:</p>
  
  <pre><code>_   1386350196768
  callback    jQuery19101285024500179227_1386350196765
  grid_options    {"id":null,"name":"Ghana"}
  </code></pre>
  
  <p>The edited response looks like this:</p>
  
  <pre><code>jQuery19101285024500179227_1386350196765( {"data":[{"id":"2c9323ca42c8df630142c944450b0002","name":"Ghana"}]})
  </code></pre>
  
  <p>Hope it helps someone else as this is not clearly documented in the official documentation. </p>