Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336086 - [Tree] Animate collapsing and expanding tree items
Summary: [Tree] Animate collapsing and expanding tree items
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-02 11:08 EST by Rüdiger Herrmann CLA
Modified: 2011-06-20 10:35 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2011-02-02 11:08:31 EST
Like with other client technologies, it should be possible to animate child items while they are expanded collapsed.
For an example, see here:
  http://dojotoolkit.org/widgets
Comment 1 Tim Buschtoens CLA 2011-06-20 08:28:12 EDT
The Tree in this demo can be found in "Sliding TabContainer" on the left.

I'm all for adding more animations, but for TREE this is going to be very difficult, mostly due to its virtual rending. Some compromise would be feasible, for example where the new items appearance/disappearance is animated, but not the shifting of the other rows.
Comment 2 Tim Buschtoens CLA 2011-06-20 10:35:43 EDT
Animated shifting *might* be possible in an somewhat efficient manner by cloning the DOM of the area thats about to be moved (using either cloneNode or innerHTML) and overlay and animate the result.