Gantt: Tree&Gantt Synhronization Problem [message #486582] |
Fri, 18 September 2009 10:12 |
Eclipse User |
|
|
|
Originally posted by: xsenia12.googlemail.com
Hello,
unfortunatelly still i have some difficulties with the synhronization of
the Tree with Gantt:
1) as far as i've set lockHeaderOnVerticalScroll() to true, both
verticalscrolls of the Tree and Gantt do not function correctly, because
setTopItem()method doesn't take into account the size of Header...
2) strange, but with increasing number of rows in Tree/Gant - the rows are
not at the same level (synchronized) any more, but the difference between
them is growing also
will be very gratefull for any help!
Thanks,
Ksenia
|
|
|
|
Re: Gantt: Tree&Gantt Synhronization Problem [message #486748 is a reply to message #486645] |
Fri, 18 September 2009 21:51 |
xsenia Messages: 6 Registered: September 2009 |
Junior Member |
|
|
Hello,
Merci beaucoup pour votre réponse!
Yes, probably it is a kind of bug, but i have managed finally, that the rows are at the same level: instead of GanttControlParent i have used FormLayout with
formData.top = new FormAttachment(0,13);
And thank you for a good advice to use GanttTester example - it is really very helpfull
So here i try to attach some screenshots:
example 1 and example 2 are for GanttVerticalScrollBar
http://img11.imageshack.us/img11/2078/example1f.jpg
http://img11.imageshack.us/img11/1571/example2y.jpg
example 3 is for TreeVerticalScrollBar
http://img11.imageshack.us/img11/3720/example3w.jpg
so, mooving TreeVerticalScrollBar, gantt events are always at the same place
- still looking for a solution...
Best regards,
Ksenia
[Updated on: Fri, 18 September 2009 22:16] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03553 seconds