Styling the Gantt scheduler

I. Styling the Gantt scheduler

If you are familiar with cascading style sheets (CSS), you can style the Gantt scheduler in IBM TRIRIGA Application Platform 3.5.1 and higher. You can access the styling and colors of the Gantt section by performing the following steps.

  • On the TRIRIGA application server, locate the folder: <TRIRIGA Install>/userfiles/treegrid-sample
  • Copy the folder /treegrid-sample to /treegrid.
  • Modify the Grid.css and Gantt.css in the /treegrid folder as desired.
  • Restart the TRIRIGA application server after you complete your changes, but before the changes are updated in the cache.
Note: Placing files in one /userfiles/treegrid on one server has the impact of replacing styles across all servers in the TRIRIGA environment.

II. Reverting the Gantt styling

Later, if you want to revert your Gantt styling to the as-shipped IBM TRIRIGA Gantt styling, perform the following steps.

  • In an SQL tool, run the following SQL as a TRIRIGA user who is connected to the TRIRIGA database:
    • delete from userfiles where fileloc like '%/treegrid/%'
  • Delete the <TRIRIGA Install>/userfiles/treegrid folder where you made your changes, or rename the folder for future use if desired.
  • Restart the TRIRIGA application server.