Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
520
Clear filters in IgGrid when dataSource changes in Angular2
posted

I am using an IgGrid in an angular2 app and setting the dataSource when an observable is populated. My issue is that when I change dataSource of the table while the table repopulates and the filters are cleared the UI still shows the previous filter values.  I've set the persist property to false 

features: [ { name: "Filtering", persist: false } ]

Do I need to specifically call bind() on the grid to trigger the clearing of the text boxes? Is the a simple way of programmatically cleering the fields?