Render data in the tree
Fires
dataBinding, dataBoundParameters
Name | Type | Description |
---|---|---|
response | {object} | An object that contains the data that needs to be loaded in the tree. |
Examples
sample
<div id="tree"></div>
<script>
var tree, onSuccessFunc;
onSuccessFunc = function (response) {
//you can modify the response here if needed
tree.render(response);
};
tree = $('#tree').tree({
dataSource: { url: '/Locations/Get', success: onSuccessFunc }
});
</script>