How to change color for selected timing (GanttTimeEntry) on Gantt chart so that it does not change back immediately back to default when I move mouse outside the timing bar and how to get start and end times from selected GanttTimeEntry in ChartDataClicked event.
I have multiple GanttTimeEntries on one task.
I'm using NetAdvantage Windows Forms 2013.1 with Progress OpenEdge.
Hello Ari,
I am just checking about the progress of this issue. Let me know if you need my further assistance on it.
Thank you for using Infragistics Components.
Hi,
Actually the advice I got helped me a bit forward. Now I'm able to mark clicked box with color I want if I am able to identify iten accurate enough. I still need hint how I'm able to identify GanttTimeEntry objects when I click timing box. In my case time entries are on same same task and if I click one I do not figured out how to identify time entry on more accurate than row and column level. Row and column level means that all timing boxes changes to highlight color on that task. Also I like to have accurate value to move database record pointer to new position. As far I know I do not get for example start and end date for timing in returning primitive. Only duration of task in microseconds.
Can you help me this?
Hello ,
Within the primitive you get access to the corresponding DataPoint (if the primitive has one) and in your case it is of type GanttItem, so you could get all needed information from it, like GanttTimeEntryCollection. Also if you need you could get the x axis value of the corresponding clicked item. I’ve modified Domtar’s sample in order to demonstrate you this approach, and I hope that this will helps you resolving your issue.
Please let me know if you have any further questions.
hi Team
I need a help on this control, I m using ultrachart on ABL form using progress. Is there any simple logic to display data as chart? I only need for display purpose but don't know how to use it. Limited experience, I'm open edge developer.
I am glad to hear that we were able to help you.
Please do not hesitate to contact with us if you have any further questions.
Thank you for support.
It took a while to map your advice from C# to Progress ABL, but seems that now I'm very close to have a solution.
Once again, thanks guys!