Is there a way to use a contains filter on a grid column that is using the 'values' lookup attribute? I've noticed with filterable:true option that it does not include a contains option by default. I have a column defined in the columns section of grid options:
{ field: "sampleId", title: "Sample Item", width:165, values: sampleListLookup },
Later a filter as:
filter.push({
logic: 'or',
filters:[
{ field: 'sampleId', operator: 'contains', value: $scope.filters.searchString },
However, when I try this is give an error in the Int stored in the column instead of filtering on string values that match the Id key. The logic works very well for string columns, just not the string look-ups above.
Looking for ideas on a work around or is it going to end up being a server side query? Perhaps filtering the lookup lists and passing in the resulting list to the filter?