Skip to main content
1-Visitor
February 3, 2011
Question

Tree expand/collapse actions

hello all,

I have a JCA Table of having 3 levels of tree structure. I use the OOTB expand/collapse action in the table actions. But it doesn't expand or collapse if I select any row. It expands/collapses all the rows with three levels, even if we dont select any row.

I want to expand /collapse only the selected rows. Can anyone suggest some solutions?

thanks

-Selva

3 replies

1-Visitor
February 4, 2011
Are you using a custom Tree Handler or OOTB Tree Handler ?

Regards,

Murugesh

Translate
Selva1-VisitorAuthor
1-Visitor
February 4, 2011
hi murugesh
I am using the custom treehandler by extending OOTB TreeHandlerAdapter class and overrriding the getNodes() and getRootNodes() method.

thanks
selva
Translate
Selva1-VisitorAuthor
1-Visitor
March 25, 2011

Hi


Finally . Yes it is done !


Just I returned WTObjects instead of Oids. It does work well.


thanks

Translate