How to remove default tasks types (Project, Task, Milestone)?

Hi,
Is there a way to remove default tasks like Project, Task, Milestone. I have created 2 custom tasks and I want only these 2 tasks to work with.

Hello Umar,
You can use the filter function in the lightbox section configuration:
https://docs.dhtmlx.com/gantt/desktop__typeselect.html#properties
Here is an example of how it can be implemented:
http://snippet.dhtmlx.com/5/0cbfb9a67