Hi,

That option currently is not wrapped in the GWT package. There is a feature
request to wrap it.
However, you can use all options through GWT, even ones that are not
wrapped.
You simply use the setOption() method in AbstractDrawOptions:

http://gwt-google-apis.googlecode.com/svn/javadoc/visualization/1.0/com/google/gwt/visualization/client/AbstractDrawOptions.html#setOption(java.lang.String,%20boolean)

Hope this helps.

- VizBoy.

On Wed, Mar 25, 2009 at 12:02 PM, akram <[email protected]> wrote:

>
> Hello,
>
> I want to use the first one; the option allowCollapse to collapse a
> node in the OrgChart by double-clicking.
> i m working withe GWT. thanks a lot
>
> On 24 mar, 15:37, VizBoy <[email protected]> wrote:
> > Hi,
> >
> > I think there is some confusion.
> >
> > 1. allowCollapse is not an event, it's an option, that allows the *user*
> to
> > collapse a node by double-clicking.
> > 2. the collapse(row, collapsed) function allows a javascript programmer
> to
> > directly control the state (collapsed or expanded) of a node.
> >
> > Which one do you want to use?
> >
> > - VizBoy.
> >
> > On Tue, Mar 24, 2009 at 2:38 PM, akram <[email protected]> wrote:
> >
> > > Hi,
> >
> > > please how can i use the event allowCollapse withe the OrgChart ? i m
> > > working with GWT in eclipse.
> >
> > > collapse(row, collapsed) :      Collapses or expands the node specified
> by
> > > the given row index. Collapsed when the collapsed parameter is true
> > > and expands the node when false is passed.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to