Akram,

Either we left these properties and  methods out when adding GWT
support, or they have been added since our initial release, I'm not
sure which.

http://code.google.com/p/gwt-google-apis/issues/detail?id=253

A workaround is to create your own class that uses JSNI methods to set
the allowCollapse property, and use the OrgChart.getJso() method:

  {
    OrgChart myOrgChart = ...;
    setAllowCollaps(myOrgChart.getJso(), true);
  }

  public static native void setAllowCollapse(JavaScriptObject jso,
boolean value) /*-{
    jso.allowCollapse = value;
  }-*/;

On Mar 24, 9:12 am, akram <[email protected]> wrote:
> je veut programmer le double clique sur l'OrgChart de l'api google
> vizualisation, mais j'arrive pas a trouver la méthode allowColapse,
> comment je peux l'utiliser sachant que je travail avec GWT sous
> eclipse ? merci pour votre aide
--~--~---------~--~----~------------~-------~--~----~
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