Task filtering function

Hello, Gantt has the function of task filtering according to time, similar to Microsoft Project’s task filtering function.

Hello @cqpeak,
The build-in event for task filtering in gantt is the “onBeforeTaskDisplay”, which lets you display or not display tasks based on some parameters.
Here is an example of filtering tasks by start date:
http://snippet.dhtmlx.com/a25ba3f6e

It is just an example of how the filtering is realized in gantt, so you can change it to meet your requirements.

I am not sure how the filtering is realized in Microsoft Project, so, if you meant something different, could you please clarify the question?

API “onBeforeTaskDisplay”:
https://docs.dhtmlx.com/gantt/api__gantt_onbeforetaskdisplay_event.html