Support Forum
Hi,
What do you mean by "Our gantt only supports ASAP planning" ?
Please note that :
- ASAP is the default Constraint value for each task in MS Project
- the same MS Project file imported in the first version of your code is working good. So we suppose that there is an issue within the latest code.
Please advice.
What do you mean by "Our gantt only supports ASAP planning" ?
Please note that :
- ASAP is the default Constraint value for each task in MS Project
- the same MS Project file imported in the first version of your code is working good. So we suppose that there is an issue within the latest code.
Please advice.
I mean that every task behaves like it has 'assoonaspossible' constraint, unless different constraint is set. For list of supported types see this doc: https://www.bryntum.com/docs/scheduling ... traintType
Again, you should not pass 'assoonaspossible' constraint to the client side. Inspect response from server, make sure this value is not present.
In our demo, in MPXJImport project, we ignore ASAP and ALAP constraints:
Again, you should not pass 'assoonaspossible' constraint to the client side. Inspect response from server, make sure this value is not present.
In our demo, in MPXJImport project, we ignore ASAP and ALAP constraints:
private static Dictionary<ConstraintType, string> constraintType = new Dictionary<ConstraintType, string>()
{
//{ ConstraintType.AS_LATE_AS_POSSIBLE, "aslateaspossible" },
//{ ConstraintType.AS_SOON_AS_POSSIBLE, "assoonaspossible" },
{ ConstraintType.FINISH_NO_EARLIER_THAN, "finishnoearlierthan" },
{ ConstraintType.FINISH_NO_LATER_THAN, "finishnolaterthan" },
{ ConstraintType.MUST_FINISH_ON, "mustfinishon" },
{ ConstraintType.MUST_START_ON, "muststarton" },
{ ConstraintType.START_NO_EARLIER_THAN, "startnoearlierthan" },
{ ConstraintType.START_NO_LATER_THAN, "startnolaterthan" },
};