Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2133 Visualizzazioni

How can I change the width of the GANTT chart when planning Tasks?

Frequently, the left column isn’t wide enough to see the complete Task Name:

Avatar
Abbandona
Risposta migliore
odoo.define('custom_module.GanttRenderer', function (require) {
"use strict";

var GanttRenderer = require('web_gantt.GanttRenderer');

GanttRenderer.include({
_configGantt: function () {
this._super.apply(this, arguments);
gantt.config.grid_width = 250; // Set your custom width here
},
});
Avatar
Abbandona