跳至內容
選單
此問題已被標幟
1 回覆
2135 瀏覽次數

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:

頭像
捨棄
最佳答案
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
},
});
頭像
捨棄