When using the Number of Rows property of a tree control, as shown below, the number of row returned does not reflect the number of rows with actual data. As you can see in Front Panel screenshot, the tree control has only 3 rows of data, but the property node indicates that there are 12 rows. This is because in the Properties window for the tree control, the number of rows is set the 12. The Number of Rows Property Node help file indicates that this property counts "partial rows" which means this property node is used correctly. However, it would be useful to have a property node which displays the rows with data.
For example, I was trying to implement a function to move a tree index down in the tree control. I wanted to implement functionality so that when the current row + 1 was greater than the maximum number of rows, set the new row to 0. However, since the maximum rows property is 12, not 3, in the below screenshot, the program would throw an error with this logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has not received any kudos within a year after posting will be automatically declined.