跳至内容
菜单
此问题已终结
1 回复
2141 查看

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
},
});
形象
丢弃