Our state of the art Gantt chart


Post by agarcia »

Hi,

I want to add a custom field column of 'percentdone' type column, keeping the existing percentdone column field.

I've tried but on adding more than one 'percentdone' type column (even setting different fields per each column), it seems to replace the previous one.

Is there any way I can achieve the same behaviour/calculation for the parents on changiong values in a custom column, such as the percentdone??

Thank you in advance
Regards


Post by johan.isaksson »

Hi,

The logic for percentDone is handled by the scheduling engine, the column just shows the result. So while you can reconfigure the column to use another field, it wont give you the aggregation up to the parents.

What you probably should try instead is to use an AggregateColumn, and configure it to give you an average. Docs here https://bryntum.com/products/gantt/docs/api/Grid/column/AggregateColumn#config-function

Demo here http://lh/bryntum-suite/Gantt/examples/aggregation-column/

Best regards,
Johan Isaksson

Post Reply