The controller:
app.controller('TestController',
['$scope',
function ($scope) {
$scope.OnButtonClick = function () {
$scope.grid.dataSource.fetch();
};
(function () { // init
// $scope.grid is NULL
$scope.grid.dataSource.fetch();
// grid is NULL
let grid = $('#gridID').data('kendoGrid');
})();
}
]);
The problem: after load all the controller the INIT function is triggerd but all Telerik UI controller are NULL in this function.
All other function run well and the Telerik UI object are available.
It's possible to have a INIT controller function with all Telerik UI component available for data loading and configuration?
Thanks