SMART datagrid v.1 > Classes > TreeDataSet
It returns Number of Descendant Rows of TreeDataRow which has been specified by parameter parent.
parent can specify TreeDataRow object or rowId. If parent is null, it will return the number of all rows of data set.
$('#descendantCount').click(function () {
alert(treeDataSet.getDescendantCount());
});