|Re: TableTreeViewer collapses after change in model [message #451311 is a reply to message #451206]
||Fri, 25 February 2005 13:09
Originally posted by: hoeggerand.post.ch|
use the refresh(TreeTableItem A).
or set "TableTreeViewer.setExpandedState(TreeTableItem A, boolean
Hope it helps...
Rajeev Sudra schrieb:
> Dear all,
> I have a TableTreeViewer which contains a model representing a tree.
> If I have a root node with two children (A & B) & B as to children (C &
> D), we would have a TableTree looking like:
> where Root and B are collapsable. If the model changes such that A now
> has a child, for some reason all of the tree collapses. I think its
> because I am calling tableTreeViewer.refresh() rather than some sort of
> targetted refresh() after the model change has occured.
> How do I leave the rest of the TableTrees expansion state intact while
> only revealing the new child?
Powered by FUDForum
. Page generated in 0.01561 seconds