I've been using the gantt for quite a while now, and the recent post about it gave me the incentive to discuss the taskID and NextTaskID fields and their usage.
Right now, a taskID is auto generated by the gantt when linking to tasks (drag & drop vertically in the gantt when items are already selected). These are simple numbers like 1, 2, 3, and more than one task can share the same ID.
Question : Is that "number sharing" on purpose ? And what are the advantages ?
Thoughts : Why couldn't taskID / NextTaskID = IDtem with another number to facilitate sorting ? It seems like it have the advantage of not mixing up different tasks with the same task ID together.
Thoughts : Why couldn't taskID / NextTaskID = IDtem with another number to facilitate sorting ? It seems like it have the advantage of not mixing up different tasks with the same task ID together.
However, sorting would become problematic (IDItem 1293 could be the NextTaskID of TaskID 2312, etc.). How could that be solved so that :
1- sorting tasks in the order they should be performed is possible
2- 2 tasks can't have the same ID
3- A Task can be the next taskID of several different tasks, but not necessarily in the same position/order ?
Any ideas ?
Comments