Our state of the art Gantt chart


Post by rahulranjan »

Hi
Can we add more columns on resource assignment pop up. Please let me know how can we achieve that.

Post by mats »

By "resource assignment pop up" do you mean the task editor or the assignment column editor?

Post by rahulranjan »

Hi It is a assignment column editor

Post by pmiklashevich »

Please try it out:
class AssignmentGridOverride {
    static get target() {
        return {
            class   : AssignmentGrid,
            product : 'gantt'
        };
    }

    static get defaultConfig() {

        const cfg = this._overridden.defaultConfig;

        cfg.columns.push({
            text : 'test'
        });

        return cfg;
    }
}

Override.apply(AssignmentGridOverride);

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply