Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Gantt: Tree&Gantt Synhronization Problem
Gantt: Tree&Gantt Synhronization Problem [message #486582] Fri, 18 September 2009 10:12 Go to next message
Eclipse UserFriend
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 #486645 is a reply to message #486582] Fri, 18 September 2009 13:44 Go to previous messageGo to next message
Laurent Marchal is currently offline Laurent MarchalFriend
Messages: 91
Registered: July 2009
Member
These could be bugs, but I have difficulties to picture the problems in
my mind, maybe screenshots can help.

You can use the GanttTester class to simulate an reproduce this
problems. It's in the gantt plugin in the CVS repository:

/cvsroot/technology
org.eclipse.swt.nebula/org.eclipse.nebula.widgets.ganttchart

Laurent Marchal.

xsenia a écrit :
> 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 Go to previous message
xsenia  is currently offline xsenia Friend
Messages: 6
Registered: September 2009
Junior Member
Hello,

Merci beaucoup pour votre réponse! Smile

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

Re: Gantt: Tree&Gantt Synhronization Problem [message #598217 is a reply to message #486582] Fri, 18 September 2009 13:44 Go to previous message
Laurent Marchal is currently offline Laurent MarchalFriend
Messages: 91
Registered: July 2009
Member
These could be bugs, but I have difficulties to picture the problems in
my mind, maybe screenshots can help.

You can use the GanttTester class to simulate an reproduce this
problems. It's in the gantt plugin in the CVS repository:

/cvsroot/technology
org.eclipse.swt.nebula/org.eclipse.nebula.widgets.ganttchart

Laurent Marchal.

xsenia a écrit :
> 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 #598227 is a reply to message #486645] Fri, 18 September 2009 21:51 Go to previous message
xsenia  is currently offline xsenia Friend
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
example 3 is for TreeVerticalScrollBar - still looking for a solution...

Best regards,
Ksenia
Previous Topic:Table with variable row heights
Next Topic:Navigation problem with Grid having too many columns
Goto Forum:
  


Current Time: Wed Apr 24 17:03:49 GMT 2024

Powered by FUDForum. Page generated in 0.03553 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top