Our state of the art Gantt chart


Post by inspire »

And another issue we are stuck at. We cannot add baseline columns into exported set using PDF export.
Is Gantt supporting including hierarchical columns? How to set export config for that?


Post by alex.l »

Hi,

I am not able to understand the problem by the info provided. Please describe the issue in format: Steps to reproduce, expected result, actual result, as requested in our Support Policy (see the link below). Please attach runnable test case if the bug is not reproducible in our online demos, or modify our demo and attach the code here.

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post by inspire »

Hi,

We added 5 baseline columns to gantt to store 5 versions of baselines:

    let baselineColumns = [];
    for (let i = 0; i < 5; i++) {
        baselineColumns.push(
            {
                id : 'col_baseline' + (i + 1),
                text        : 'Baseline ' + (i + 1),
                collapsible : true,
                collapsed   : true,
                hidden : true,
                children    : [
                    { type : 'baselinestartdate', text : 'Start', editor: null, format : that.dateFormat, field : `baselines[${i}].startDate` },
                    { type : 'baselineenddate', text : 'Finish', editor: null, format : that.dateFormat, field : `baselines[${i}].endDate` },
                    { type : 'baselineduration', text : 'Duration', editor: null, field : `baselines[${i}].fullDuration` },
                    { type : 'baselinestartvariance', editor: null, field : `baselines[${i}].startVariance` },
                    { type : 'baselineendvariance', editor: null, field : `baselines[${i}].endVariance` }
                ]
            }
        );
    }

columns.push(...baselineColumns);

These baseline columns work fine but they are not displayed in Columns picklist in export dialog:

Screenshot 2025-02-07 at 17.32.16.png
Screenshot 2025-02-07 at 17.32.16.png (122.33 KiB) Viewed 174 times

Post by marcio »

Hey,

Thanks for clarifying that, I was able to reproduce it in one of our demos.

Here's the ticket to track the discussion/fix of that behavior https://github.com/bryntum/support/issues/10764.

Best regards,
Márcio

How to ask for help? Please read our Support Policy


Post Reply