oxjs/examples/json_to_list/js/example.js

13 lines
248 B
JavaScript
Raw Normal View History

2012-04-15 12:13:37 +00:00
/*
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);
});
});