on 02-15-2006 3:46 PM
Hello,
I have a MasterColumn to represent a tree-like hierarchy in a table
and I wonder how I can retrieve the total number of expanded lines of the
tree at runtime, ie retrieving the number "n" that is displayed in the
table footer "Row x of n"
Thanks and best regards,
Laurent
Laurent,
Check my post /people/valery.silaev/blog/2005/06/20/master-of-columns-part-ii
Copy from there method sizeOf(<nodeElement>);
Valery Silaev
EPAM Systems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laurent,
As far as I know there is no way to get this number directly. You need to calculate it: iterate recursevely data node elements, check whether node element is having children and is expanded and increment number of expanded nodes.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.