AhmadApriliyanto23 / Berandaku

Docs
0 stars 0 forks source link

dynamically changing kendo ui column | Kendo UI #7

Open AhmadApriliyanto23 opened 2 years ago

AhmadApriliyanto23 commented 2 years ago

let grid = $("#gridLogKinerja").data("kendoGrid");
if(grid){
grid.setOptions($scope.mainGridOption);
}

why use $scope, because when I work using angularjs 2014-2017, you can change it with variables according to the language used. $scope.mainGridOption in it there are custom columns check kendo documentation Kendo UI