更多的堆栈溢出为我提供了答案
onRegisterApi: function(gridApi){
$scope.gridApi = gridApi;
gridApi.core.on.filterChanged($scope, onFilterChanged);
},
$scope.filteredRows=[];
function onFilterChanged()
{
console.log('no arguments passed:', arguments)
$scope.filtered = $scope.gridApi.core.getVisibleRows();
console.log('grid filtered data', $scope.filtered)
}
谢谢
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句