Unique IDs in Gantt chart

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Erik on 16th October 2013
I'm populating a gantt-chart from sql data and i need to pass a unique id to every event in my gantt besides the name / label. Is this possible?

I want to make a onClick link like, 'newpage?q=' + id..

Also, is there a class for the events that can be manipulated with css?
Posted by RGraph support on 17th October 2013
Hi there,

The closest thing to a unique ID is the index of the bar - which you can get like this:

www.rgraph.net/fiddle/view/a-gantt-chart-with-a-click-event


Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site

Add a reply




« Back to message list