angular-ui/ng-grid — pull request #1182 by markbauer1975 (2014-05-09 19:39:51+00:00)
Title: fixed filterText to work with fields that are methods

Fixed the searchProvider so it is able to search a field that is a method of an object instead of just properties of an object.

In the following example columnDefs, getAge() would display fine in the grid, but the filter would not work on it. With these changes the filter will work.

var gridOptions = {
data: myData,
columnDefs: [{ field: 'name' },{ field: 'getAge()' }]
}