Hi, I just wanted to let everyone know that I did implement the spinner control, and I blogged about it:
http://markmacumber.blogspot.com/2009/05/gwt-fasttree-and-spinner-icon.html Please take a read and let me know what you think! On Apr 21, 8:25 am, markmac <mark.macum...@gmail.com> wrote: > Thanks Salvador, Ill give that link a look and if I figure something > out ill let you know :) > > On Apr 20, 10:49 pm, Salvador Diaz <diaz.salva...@gmail.com> wrote: > > > 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/threa... > > > Good luck, > > > Salvador > > > On Apr 20, 1:25 pm, markmac <mark.macum...@gmail.com> 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 <diaz.salva...@gmail.com> 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 <mark.macum...@gmail.com> 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 Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---