How can I refresh the grid after I edit the Kendo UI grid?

后端 未结 11 2001
忘掉有多难
忘掉有多难 2021-02-01 15:09

I edit the grid using editable: \"popup\" as shown on Telerik\'s demo page. After I edit the grid, I want the grid to refresh. Does the grid have any event that is

11条回答
  •  自闭症患者
    2021-02-01 15:52

    You can call a function on you edit button click and inside that you can refresh the grid:

    function EditRow(){
         var grid = $("#YourGridName").data("kendoGrid");
         grid.dataSource.read();              
    }
    

提交回复
热议问题