oxjs/examples/json_to_list/js/example.js
2012-04-15 14:13:37 +02:00

13 lines
No EOL
248 B
JavaScript

/*
This is probably the easiest way of displaying a complex data structure...
*/
Ox.load('UI', function() {
Ox.getJSON(Ox.PATH + '/Ox.Geo/json/Ox.Geo.json', function(data) {
Ox.TreeList({data: data}).appendTo(Ox.$body);
});
});