Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2171 มุมมอง

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
},
});
อวตาร
ละทิ้ง