oxjs/examples/lists/json/js/example.js
2012-06-25 11:28:55 +02:00

13 lines
No EOL
247 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);
});
});