Default filtering with ng-template
New DiscussionHello,
I have filtering working just fine using ng-template and manually activate filtering via the gui. To do so I’m using a custom filter and specifying it in the [filters] property of the column I want to filter.
Here is how they are defined:
{{cell.value?.statusName}}
Like I said, that part works fine. I’d like to apply a default filter when the page loads up and I’m struggling on how to do that. Your documentation gives this example:
this.grid.filter('ProductName', 'myproduct', IgxStringFilteringOperand.instance().condition("contains"), true);
That works with no issues for me on a normal, non-templated field. How do I apply this on a ng-template field?
I’ve tried supplying the name of the field and field.PropertyName but I’m having no luck.
Thanks!
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post