Premium support for our pure JavaScript UI components


Post by tikhonov.a.p »

Thanks a lot for the detailed answer, now I understand why sometimes I can't get to private methods.
Thank you, I will be looking forward to the decision of the ticket. Do I understand correctly that this is a simple revision and it could be expected in the upcoming releases?


Post by alex.l »

I think so. Our product management didn't analyse it yet. We will see when it gets a milestone.

All the best,
Alex


Post by tikhonov.a.p »

Good afternoon. Can you tell me if there is any news about this? I really want to be able to extend the ProjectModel


Post by alex.l »

Sorry for long waiting. I will ask management if we can rise a prio for that ticket.

Please check this topic, it should help you to go forward viewtopic.php?f=51&t=22419&p=110928&hilit=extend+projectmodel#p110928

You could also try this

const ganttConfig: BryntumGanttProps = {
    project: new ProjectModelExtended({
        autoLoad: true,
        taskModelClass: TaskExtModel,
        taskStore: TaskExtStore,
        transport: {
            load: {
                url: 'data/launch-saas.json'
            }
        },
        // This config enables response validation and dumping of found errors to the browser console.
        // It's meant to be used as a development stage helper only so please set it to false for production systems.
        validateResponse : true
    }),

//@ts-ignore

columns: [{ type: 'name', field: 'name', width: 250 }],
viewPreset: 'weekAndDayLetter',
barMargin: 10
};

export { ganttConfig };

All the best,
Alex


Post by tikhonov.a.p »

Understood. Thanks, I'll try it now


Post Reply