angular ui grid - How to acces sorted, paged and filtered data from a UIGrid -


i want access filtered , sorted rows if hidden in different pages.

the line below works long i'm not using pagination

$scope.gridapi.core.getvisiblerows($scope.gridapi.grid) 

and can access rows using following lines in case, rows not sorted correctly.

var myrows = []; angular.foreach($scope.gridapi.grid.rows,function(v,k){     if(v.visible)         myrows.push(v); }); 

is there simple enough solution this?


Comments

Popular posts from this blog

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -