Remember expanded detail grids on refresh in Kendo-UI

前端 未结 4 1975
面向向阳花
面向向阳花 2020-12-20 04:49

I have a scenario with grid within grid implemented using the detailInit method. Here when user makes edit, i do some calculations that will change the data in the both pare

4条回答
  •  再見小時候
    2020-12-20 05:01

    Actually all that is needed is the 'subgridChange()' function in the main grid 'dataBound' function:

     $('#' + grid_id).kendoGrid({
          ...
          dataBound: function (e) {
              gridDataMap.subgridChange();
          }
      });
    

提交回复
热议问题