Event fires when the tree is initialized
Parameters
Name | Type | Description |
---|---|---|
e | {object} | event data |
Examples
Event Sample
<button id="reload" class="gj-button-md">Reload</button>
<div id="tree"></div>
<script>
var tree = $('#tree').tree({
dataSource: '/Locations/Get',
initialized: function (e) {
alert('initialized is fired.');
}
});
$('#reload').on('click', function() {
tree.reload();
});
</script>