Commit e03a3c4e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

automatically adjust gantt chart height.

parent fa0bcf41
......@@ -480,7 +480,8 @@
try {
gantt.clearAll();
} catch (e) {}
$('#gantt_output').show().dhx_gantt({
var gantt_output_height = 35 * (gantt_data.data.length + 1) + 1;
$('#gantt_output').height(gantt_output_height).show().dhx_gantt({
data: gantt_data,
scale_unit: 'day',
readonly: true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment