Kendo ui datasource refresh?

前端 未结 1 1268
Happy的楠姐
Happy的楠姐 2020-12-20 11:57

I have used kendo grids and charts fine and refreshed them with the following example code:

$(\"#Product\").data(\"kendoGrid\").dataSource.read();


        
相关标签:
1条回答
  • 2020-12-20 12:02

    It seems to be that only the data is read with dataSource, you need to refresh the grid also like this:

    $("#Product").data("kendoGrid").dataSource.read();
    $("#Product").data("kendoGrid").refresh();
    
    0 讨论(0)
提交回复
热议问题