gijgo
gijgo copied to clipboard
How to limit children depth in tree view
I am implementing the GIJGO Tree plugin in my project. I am facing an issue that is limiting the depth of children. I don't want any child to have further children. How to achieve it.
$(document).ready(function () { var tree = $('#tree').tree({ primaryKey: 'id', uiLibrary: 'bootstrap', dataSource: 'category_cms/getUsers', border:true, depth: 2 //Any property somthing like this ?
});
});