Hi all,
Is there anybody to explain the behaviour of a treeview listbox when selecting a non level 0 member ?
Let me precise my doubt :
- Take a lambda qvw including a treeview lisbox ("what's new in QV9" for instance)
- Create a table object including all the fields of a treeview subjacent table to observe my point
1-When selecting a lowest level member in the treeview listbox, the result in the table object is a unique record
2-When selecting its parent without clicking the (+/-) button located in front of the parent, the table object is updated with a unique record corresponding to the parent freshly selected
3-When unselecting the parent by clicking it, the table object is updated with all records
4-When re selecting the parent after clicking the (+/-) button in front of it (ie : the descendants are now hidden), the table is updated with as many records as descendants + 1 (the parent record)
Conclusion :
-> if you select a parent when the treeview is "open" (ie : you can see the descendants), the data shown are just related to the selected member.
-> if you select a parent when the treeview is "closed" (ie : the descendants of the selected member are not displayed) the selection includes the member + its descendants.
Does anybody else think it's tricky ? Am I doing something wrong ?
Regards
Olivier