Premium support for our pure JavaScript UI components


Post by shashank.yadav »

Hi Team,

How can we set Microsoft Project app Dates from Gantt XML exported data?
Please refer below screenshot.

msApp.png
msApp.png (53.21 KiB) Viewed 141 times

Thanks,
Shashank
Hatch Digital


Post by arcady »

Hello,

The Gantt MspExport feature does not export those values at the moment.
The reason is our data model has no strict one-to-one mapping with them.
But if you need them to be provided now you can workaround them:

// set listener on Gantt construction step
const gantt = new Gantt({
    ---
    features : {
        mspExport : {
            listeners : {
                dataCollected : ({ data }) => {
                    data.DefaultStartTime = '08:00:00';
                    data.DefaultFinishTime = '17:00:00';
                }
            }
        }
    }
});

Related docs:

Best regards,
Arcady


Post by arcady »

PS I've also made a feature request to support the values out of the box: https://github.com/bryntum/support/issues/8733


Post Reply