Our state of the art Gantt chart


Post by rahulranjan »

Hi on double click of gantt horizontal bar how can we disable Information pop up not to be Shown.

Post by pmiklashevich »

To disable TaskEdit feature please set it to false:
new Gantt({
    features : {
        taskEdit : false
    },
    ...
}

Pavlo Miklashevych
Sr. Frontend Developer


Post by rahulranjan »

Hi pmiklashevich
I tried but it not working
 features: {
        filter: true,
        nonWorkingTime: true,
    //myTaskEditor: fasle,

        timeRanges: {
            showHeaderElements: true,
            showCurrentTimeLine: true
        },
        // taskEdit: false,
        // myTaskEditor: true,
        labels: {
            left: {
                field: 'name',
                editor: {
                    type: 'textfield',
                    CellEdit: {
                        disabled: true
                    }
                },

            }
        },
        // taskEdit: {
        //     menuItems: [
        //         {
        //             text: 'Gaea Extra',
        //             icon: 'b-fa b-fa-fw b-fa-flag',
        //             onItem({ taskRecord }) {
        //                 taskRecord.flagged = true;
        //             }
        //         }
        //     ]

        // },
        taskContextMenu: false,
        taskEdit: false,
        // taskContextMenu: {
        //     // Extra items for all events
        //     extraItems: [
        //         {
        //             text: 'Gaea Extra',
        //             icon: 'b-fa b-fa-fw b-fa-flag',
        //             onItem({ taskRecord }) {
        //                 taskRecord.flagged = true;
        //             }
        //         }
        //     ]
        // }
    },
    //  readOnly: true // eo features

}; // eo ganttConfig

Post by pmiklashevich »

To make sure I get your question right, could you please attach a screenshot and highlight what "gantt horizontal bar" you mean and what "information pop" you mean?

Pavlo Miklashevych
Sr. Frontend Developer


Post by rahulranjan »

Here is the screen Shot
Attachments
TEST11233.PNG
TEST11233.PNG (21.36 KiB) Viewed 1435 times

Post by pmiklashevich »

Yes, I got you right. Then `taskEdit : false` should do what you want. Please make sure your config is used in the gantt. If it still doesn't work for you please attach a runnable test case that I can check

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply