Page 1 of 1

[ANGULAR] AssignmentGrid - The unit input is not updating

Posted: Fri Aug 02, 2024 9:00 pm
by almeidaggg

Context:
I'm a junior developer and I was assigned to a project that uses bryntum gantt. I have little experience in the business but I already understand some things. Before I was allocated to this project, several other developers modified the code. So there are several bugs and I need to resolve one in specific.

Version: Bryntum Gantt 2.1.4

The Problem:
When associating a resource, I can define the percentage value of that resource. However, when typing the value and leaving input, the box should be automatically marked and the value in the unit column("ALOCAÇÃO%") should add a '%' to the end. But this isn't happening.

Captura de tela 2024-08-02 155353.png
Captura de tela 2024-08-02 155353.png (11.01 KiB) Viewed 285 times

From what I researched, this behavior should happen by default. Is it possible that a bug made by an old developer broke this functionality? Where to start looking for the bug?


Re: [ANGULAR] AssignmentGrid - The unit input is not updating

Posted: Fri Aug 02, 2024 9:24 pm
by mats

Welcome to the our support forums :)

I'd try to migrate to our latest version 6.0.4 and most likely the bug will not exist anymore. Is this an option?


Re: [ANGULAR] AssignmentGrid - The unit input is not updating

Posted: Fri Aug 02, 2024 9:42 pm
by almeidaggg

Unfortunately not for now Mats. I'm more trying to understand what could have caused this. Or if anyone has gone through something similar.


Re: [ANGULAR] AssignmentGrid - The unit input is not updating

Posted: Fri Aug 02, 2024 10:30 pm
by mats

Might just be a bug in the (very) old version you're using. Any reason why upgrading isn't an option?


Re: [ANGULAR] AssignmentGrid - The unit input is not updating

Posted: Fri Aug 02, 2024 11:55 pm
by almeidaggg

The company works with corrective and evolutionary work orders. We are currently on a corrective work order. The customer would have to open an evolutionary service order and this can take a long time due to bureaucracy.
Updating the version is definitely in the plans. But I need to deliver this task in 2/3 days.
Do you have any gantt version upgrade guide? If it's simple, I can test if it solves my problem


Re: [ANGULAR] AssignmentGrid - The unit input is not updating

Posted: Sat Aug 03, 2024 12:17 am
by marcio

Hey,

We have an upgrade guide here https://bryntum.com/products/gantt/docs/api/guides-upgrading-gantt that could help you.

And we also have an API diff tool if you want to check the difference between versions https://bryntum.com/products/gantt/docs/api/apidiff