Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

SetDisplayField of PickTreeItem does not work

$
0
0
Hello,

I am using SNAPSHOT_v9.1d_2014-01-16/Pro Deployment 2014-01-16.
I built up a Tree (TreeModelType Parent) of buildings and rooms which is not databound. Therefore, nodes on either the building-level as well as on the room-level have three attributes: id, building and room name.
Then, I am using a PickTreeItem to display buildings and their rooms. I use setDisplayField to let the tree use the names (of buldings and rooms) when shown. On the first level of the PickTreeItem the building names appear, but on the second level the room-ids are displayed instead of room names.

Where's my mistake?
Andreas

Attached Images
File Type: png PickTreeItem.png (5.0 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles