RadiantQ Forum
Product => jQuery Gantt Package => Topic started by: steve.vilotti on June 15, 2018, 11:36:35 AM
-
Quick question. Can someone help me figure out how to set the default width of the separator between the grid and the chart? I would like the grid to be about 75% width, leaving the chart at about 25% width when the Gantt loads. I thought I saw this setting before, but cannot find it now. Any help would be appreciated.
-
There is a "TablePanelWidth" gantt option to specify the value for splitter width. This is already illustrated in http://jqganttdemos.radiantq.com/Samples/RoundsTimesToDay.htm (http://jqganttdemos.radiantq.com/Samples/RoundsTimesToDay.htm) Sample
$gantt_container.GanttControl({
ProjectStartDate: anchorTime,
DataSource: self.jsonData,
GanttTableOptions: {
columns: columns
},
TablePanelWidth:"75%",
GanttChartTemplateApplied: function (sender, args)
{
var $GanttChart = args.element;
$GanttChart.GanttChart({ AnchorTime: anchorTime });
}
});
Thanks
Raja
-
Excellent. Thank you, that was exactly what I was looking for.