gijgo icon indicating copy to clipboard operation
gijgo copied to clipboard

How to limit children depth in tree view

Open aqsa7 opened this issue 4 years ago • 0 comments

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 ?

	});

});

aqsa7 avatar Apr 12 '21 09:04 aqsa7