Allow IFilterOptions.condition to be set to a function, as the documentation describes.

This commit is contained in:
Gareth Smith
2016-03-01 10:12:26 +00:00
parent c0d876601e
commit b8fb2df231
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -3844,7 +3844,7 @@ declare module uiGrid {
* or you can supply a custom filter function that gets passed the
* following arguments: [searchTerm, cellValue, row, column].
*/
condition?: number;
condition?: number | ((searchTerm:string, cellValue:any, row:IGridRow, column:IGridColumn) => boolean);
/**
* If set, the filter field will be pre-populated with this value
*/