Sascha Deus wrote:
Quote:
I'm not really good in english, but i will try it!
>
Hello,
>
i don't be able to fill the treeview component with data of an array,
filled by a php script.
>
Could any body help me, please?
>
The Examples of yui are really nice, but only in html and javascript.
I need an ajax.updater who calls a php script and fills in the subnodes
dynamically.
>
>
Rami Elomaa schrieb:
Quote:
>Sascha Deus kirjoitti:
Quote:
>>Hallo NG,
>>>
>>ich möchte gerne die Yahoo UI TreeView Komponenten mit Daten befüllen.
>>die aus PHP per ajay.request asynchron geladen werden.
>>
>Could you please ask in English?
>>
>Err... Können Sie bitte im Englische fragen?
>I'm sorry, I'm terrible at german... ^_^
>>
I haven't looked, but you are either going to have to call your PHP with
Ajax whenever you need your tree changing, and either
a) Send back a delimited string with data in it, parsing with Javascript
or to build a javascript array
b) Use PHP to dynamically build your javascript code and then use
equivalent of eval in javascript to execute the returned code?
If i get time later i might take a look, just very busy at the mo.