I want to know what is the callback function that fires after Angularjs grid is rendered meaning all its cells are rendered a function like $.ready()
there are two functions
you can use, if you want to execute on ui-grid ready then use renderingComplete
onRegisterApi: function(gridApi) {
gridApi.core.on.renderingComplete($scope, function() {
//code to execute
});
}
if you need callback
on data change use rowsRendered
onRegisterApi: function(gridApi) {
gridApi.core.on.rowsRendered($scope, function() {
//code to execute
});
}
The figured out the function is $scope.gridApi.core.on.rowsRendered()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With