How to be notified when there are changes in the grid - AngulasJs ui-grid

3

Is there any way to know if the grid has finished updating lines, or even if it has finished loading them?

I tried to do it this way:

$scope.gridApi.core.on.filterChanged($scope, function() {
    console.log('filter changed');
    $timeout(foo(),800);
});

But I'm not getting the grid change callback or load termination.

    
asked by anonymous 16.12.2015 / 12:30

1 answer

2

According to the documentation there is an event inside the wii .grid.core.api named rowsRendered :

  

Is invoked after the visible rows cache is changed.

The call is like this:

$scope.gridApi.core.on.rowsRendered($scope, minhaFuncao);
    
21.11.2016 / 18:13