Pregunta

Can you tell me if it is possible to get data for easyui tree using ajax success..

Thanks in advance..

¿Fue útil?

Solución

// create tree first
$('#tt').tree({
...
});

get data in your success method and use loadData method to load it in your tree

var data = [{...},{...}];
// then call 'loadData' method
$('#tt').tree('loadData', data);
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top