Nonrenewable Resources in Gantt

Hello

Is there any way to see the Non-renewable resources in Gantt?

Thank you

Hello Ali,
Could you clarify what you mean?

There is no way to create resources that won’t be repainted in the resource chart unless you collapse their parents so that the resource rows won’t be visible.

The resources are objects, and Gantt doesn’t have a tool to make those objects read-only. But it depends on what you want to do. Please, give me a detailed description of your requirement as it is not clear to me.

Thank you for your reply.

As you know, In project management we may have two resources: Reusable resources and Non-Reusable resources.

In an example, we can call our “Employees” as reusable resources because when a task is finished, the resource will be ready to assign to another task.

But, Non-reusable resources are such as “Paper”, “Rocks” etc that when we have assigned them to a task and by finishing the task, we can’t re-use them because they will be finished.

We know that there is a way to assign Employees to a task as reusable resources.

So, is there any way to separate between reusable and non-reusable resources in DHTMLX Gantt?

Hello Ali,
Thank you for the clarification.
Gantt doesn’t have a built-in feature to check that. But you can use Gantt API and Javascript to implement a custom solution.
For example, you can check the number of free wires and use some kind of validation. If you don’t have enough wires, reopen the lightbox, and do let closing it until reassigning the number of wires.
Here is an example of how it might be implemented:
https://snippet.dhtmlx.com/397c7d4db