I have an array of objects that I want to show in an ng grid. Each row has the boolean property isVisible . In ng-grid, I want to show only rows where isVisible is true. The remaining lines should be completely hidden.
I tried using rowTemplate and bind a ng-show data to isVisible . This hides the contents of the string, but leaves the actual string in place, showing an empty string.
I tried using filterOptions, but cannot determine the correct syntax for such filtering. I could not find good documentation on how to install it.
I even tried modifying the gridTemplate in the ng-grid source, trying to add a filter to ng-repeat=\"row in renderedRows\" , but I didn't get that either.
I suppose I can change the array itself by temporarily deleting the lines, but I would prefer not to do it this way, since I have to show the lines again (this is actually the extender that I do, which should hide / show the substrings)
source share