I have the kind of tasks that are treated differently from the rest. They represent the project details and no matter what filters are applied, they should be displayed. How do I do that universally, so it works across all filters, and all methods of adding those filters. Meaning, by user interaction, or programatically added with taskStore.filter(), and after page reload when those filters were recovered from local storage (stateProvider).
Support Forum
Hi,
By using https://bryntum.com/products/gantt/docs/api/Gantt/data/TaskStore#function-filter you'd have full control of the filter.
So you could put a condition inside of taskStore.filter
to ignore filter for some specific tasks
And if you want to use a filterFn for a specific column, then please check this https://bryntum.com/products/scheduler/docs/api/Grid/column/Column#config-filterable
I hope this will help.
Let us know if you have any other questions
Hi,
Sorry, I didn't understand the question about stateProvider
.
Now it's clean, You could use https://bryntum.com/products/gantt/docs/api/Core/mixin/State#function-getState to get the states
And apply the filter using the taskStore.filter()
gantt.getState();
I hope this will help