Re: [ANGULAR] How to enable FilterBarFeature for specific columns
Posted: Wed Jan 19, 2022 12:08 pm
by abisht
On change of filter value i need to call the backed API and get new set of filter data. I was doing on onSchedulerEvents(event),checking for the event.type = 'resourceschange' then calling API. But this is going in loop because resourceschange type is calling when action is filter and dataset. dataset is again calling filter action.
is there any way to handle the Filterchanges to call backend api ?
Re: [ANGULAR] How to enable FilterBarFeature for specific columns
Posted: Wed Jan 19, 2022 1:19 pm
by abisht
How to handle the server side filtering?
Re: [ANGULAR] How to enable FilterBarFeature for specific columns
Posted: Wed Jan 19, 2022 7:53 pm
by abisht
Hi Alex,
Below is my config file. I want to filter on driver Name. On each keypress i need to call the API and show the result on UI.
Is this possible.?
i am using listeners on input. i am able to filter the from api able to bind the data to UI. after the bind it is clearing the filter text.
Is there any way to not to clear the filter text?
Re: [ANGULAR] How to enable FilterBarFeature for specific columns
Posted: Thu Jan 20, 2022 2:55 pm
by alex.l
Did you return your filters data back in your response? It should be re-applied from the data.