You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
Can you help me out of this issue any one? sub grid is working fine with scope, but unable to destroy the api, because its null in destroy method, i haven't found any sample for angular 1.X edition for master detail grid. this is case is happen not only sub grid,
//#region Destroy
$scope.$on("$destroy", function () {
console.log($scope.myGridoptions)
if ($scope.myGridoptions.api !== null)
$scope.myGridoptions.api.destroy();
$scope.myGridoptions= null;
});
//#endregion
I have implemented the scope based master details grid to achieve the angularCompileRows: true in the child grid, this.MD will be unique ID
So destroy method not happening due to api is null while collapse, But JS based sub grid have api.
This Leading the Memory Leak
Grid Objects still in memory because destroy not happen, Please provide solution !
Thanks
The text was updated successfully, but these errors were encountered: