skip to main content
Gantt > Programmer's documentation > Advanced globalization > Base text direction: in the JViews Gantt SDK > At Gantt table level
 
At Gantt table level
The table can have its own base text direction set differently from the chart. You can set base text direction in the table, for example, right to left, with the following code:
chart.getTable().setBaseTextDirection(IlvBidiUtil.RIGHT_TO_LEFT);
The same result can be achieved by adding the code for the following selector to the CSS file:
table {
  baseTextDirection : "Right-To-Left";
}

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.