September 24, 2018, 01:59:03 AM

See more Support incidents in our old archived forum.

Author Topic: Set width of vertical separator  (Read 189 times)

steve.vilotti

  • Customers
  • Newbie
  • *
  • Posts: 7
Set width of vertical separator
« 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.

Rajagopal

  • RQ Members
  • Jr. Member
  • *
  • Posts: 99
Re: Set width of vertical separator
« Reply #1 on: June 18, 2018, 12:03:47 PM »
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 Sample

Code: [Select]
$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

steve.vilotti

  • Customers
  • Newbie
  • *
  • Posts: 7
Re: Set width of vertical separator
« Reply #2 on: June 20, 2018, 06:20:48 PM »
Excellent.  Thank you, that was exactly what I was looking for.