http://www.gwt-ext.com/demo/#columnTree
here loads from a url the json :)
2009/8/23 Anton Trapp <[email protected]>

>
> I must be blind. I can find many which read from the server a json
> string, many xml samples, but not one with a local client json. Can you
> lend me your glasses?
>
> Patrizio De Michele schrieb:
> > see the gwt-ext showcase if i remenber correctly there are many
> > examples of this type....
> > bye pat
> >
> > 2009/8/23 Anton Trapp <[email protected]
> > <mailto:[email protected]>>
> >
> >
> >     Hello again!
> >
> >     Is it possible to build a tree from a local json String on the
> client?
> >
> >     myJsonString would be something like -> [{"id":"root","text":"root
> >
> node","leaf":false,"children":["id":"one","text":"child1","leaf":true]]
> >
> >     and it is allready on the client.
> >
> >     I would have thought of something like:
> >
> >     JsonReader reader = new JsonReader();
> >     Store store = new Store(reader);
> >     store.loadJsonData(myJsonString, true);
> >
> >     but what do I use for the JsonReader constructor (or is my throught
> >     going in the wrong direction)?
> >
> >     Thank you very much in advance!
> >
> >     Regards,
> >
> >     Anton
> >
> >
> >
> >
> > >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to