I have a simple user interface grid with these options:
$scope.transactionGrid = { enableSorting : true, enableColumnResize : true, enableScrollbars : true, enablePaginationControls : false, minRowsToShow : 6, onRegisterApi : function(gridApi) { $scope.gridEventsApi = gridApi; } };
I want to hide lines that have a specific value, deleted: "y" .
$scope.transactionGrid.data = [ { Name: "First", deleted: "y" }, { Name: "Second", deleted: "y" }, { Name: "Third", deleted: "n" }, { Name: "Fourth", deleted: "n" } ];
Without actually modifying the data, can it be filtered out of rows?
source share