Thursday, October 15, 2015

How to reload Kendo Grid Datasource and reload grid

An example in the Save event of the grid:

 function OralSaving(e) {  
   OralValidate(e);  
   if (e.model.isNew()) {  
     $('#Oraldosegrid').data('kendoGrid').dataSource.read();  
     $('#Oraldosegrid').data('kendoGrid').refresh();  
   }  
 }  

No comments:

Post a Comment