struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Välimaa" <valimaa.ju...@gmail.com>
Subject Re: Tree default expanded ??
Date Tue, 30 Sep 2008 14:19:46 GMT
As far as I know, it is not possible to expand tree widget server-side.
Client-side, javascript can be used to open the tree, like so:var nodes =
dojo.widget.manager.getWidgetsByType('struts:StrutsTreeNode');
for( var i=0; i < nodes.length; i++){
     nodes[i].expand();
}

Jukka

On Tue, Sep 30, 2008 at 4:59 PM, Narayana S <narayanasgs1@gmail.com> wrote:

> any one who worked on tree control plz give some helping hand....
>
>
>
> On Fri, Sep 26, 2008 at 3:34 PM, Narayana S <narayanasgs1@gmail.com>
> wrote:
>
> > Hi
> >      Is it possible to display a tree expanded by default?
> > I am using struts 2.1.2 dojo-plugin to create the tree structure. any one
> > used tree...plz help me
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message