I tried to set my Gantt-chart to readonly, such that users would not be able to move any tasks on the Gantt-chart. Unfortunately I cannot find neither this option in WebUI nor in any AIMMS Manual.
Could you help me to set it up?
Thanks !
Page 1 / 1
Hi @Curious AIMMS-bot 2
There are 2 different ways to do this:
- You may remove TaskDuration and TaskStart from the predeclared AIMMS set of "CurrentInputs".
- You may cherry pick the exact item you want to make read only by using the same process used in the table widget:
https://documentation.aimms.com/webui/table-widget.html#creating-read-only-cells
Please apply the flag on the Start identifier (TaskStart in my case)
StringParameter TaskDuration_flags {
IndexDomain: (t,p,p1);
Definition: "readonly";
}
Please see https://documentation.aimms.com/webui/gantt-chart-widget.html#making-some-or-all-tasks-read-only-in-the-gantt-chart
There are 2 different ways to do this:
- You may remove TaskDuration and TaskStart from the predeclared AIMMS set of "CurrentInputs".
- You may cherry pick the exact item you want to make read only by using the same process used in the table widget:
https://documentation.aimms.com/webui/table-widget.html#creating-read-only-cells
Please apply the flag on the Start identifier (TaskStart in my case)
StringParameter TaskDuration_flags {
IndexDomain: (t,p,p1);
Definition: "readonly";
}
Please see https://documentation.aimms.com/webui/gantt-chart-widget.html#making-some-or-all-tasks-read-only-in-the-gantt-chart
In a similar vein, I want to restrict the movement of the Gantt chart bars to the same row. This is a bit like having each job "read-only" for that resource, but still adjustable on time and duration.
Is this possible? Should I use some derivation of your solution above?
Thanks!
Is this possible? Should I use some derivation of your solution above?
Thanks!
Reply
Sign up
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.