SMART datagrid v.1 > Classes > TreeView
The total hierarchy levels of tree.
If parameter visibleOnly is true, it will calculate only based on the rows which have been displayed currently.
$('#btnLevels').click(function () {
tree.getLevels(row);
});