Search Filter is not working as expected

  1. when i am seaching for project name it is filtering the projects but not showing the children of the project i.e task.
  2. And When i am searching for the task it is filtering task but not showing parent i.e project

image in this i’m seachring project but it is not showing children (task)

image here i’m searching task but is not showing parent.

image in general groups look like this.

i am refering this doc for filter


any solution for this ?


Hello Nitish,
This is expected behavior because the onBeforeTaskDisplay event handler processes each task without its parent or child tasks:

You will need to implement a custom solution by using the Gantt API and Javascript.

Here is an example where the task is displayed with its parents:

And here is a different example where the task is displayed with its children: