Well, I don't think there are methods to change the expand and collapse icons dynamically (I think you can specify them in the constructor though).
You could of course do it through DOM manipulations but that could introduce undesirable side effects, you'll just have to try and tell us what happens. To get an example of how to do that look at this post (it's not about fastTree, but it should give you a good overview of the technique I'm talking about): http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/4ee8f8169c2e3594/ebe5a9824966e369?lnk=gst&q=#ebe5a9824966e369 Good luck, Salvador On Apr 20, 1:25 pm, markmac <[email protected]> wrote: > Hello Salvador, > > I am actually going to need it due to a rather large data sets that > produce many many nodes... > > Your idea is on the right track, but I was hoping to replace the > expand and collapse icons of the node that I am expanding with a > little rotational-style icon while the data is being fetched > > Can you do that? > > Cheers, > Mark > > On Apr 20, 4:26 pm, Salvador Diaz <[email protected]> wrote: > > > Well, depending on what you're going to show, you might not need to > > show the loading icon. But if you really want to do it, you should be > > able to add a TreeItem created from a widget so make your loading icon > > with a standard image widget, then instantiate your fast tree item > > with that image, add it to your tree and when you're ready to show the > > actual data, remove the loading icon and show the data. > > >http://collectionofdemos.appspot.com/javadoc/com/google/gwt/widgetide...) > > > Cheers, > > > Salvador > > > On Apr 20, 4:29 am, markmac <[email protected]> wrote: > > > > Hi All, > > > > Does anyone know how I can get the FastTree to show a loading tree > > > icon when a user expands a tree node? I was hoping to get this for > > > free out of the box, but it does not seem to be available. > > > > Any help at all is appreciated. > > > > Cheers, > > > Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
