I'm using a Tree component with a dataProvider set using an XML object. Also showRoot=false.
If I set using a childless XML object then one item is shown in the tree. That's a bit weird but it sort of allows me a way to display my message (using labelFunc) to "No items". But then I have to be careful with all my event handlers because this item is not really a real item for my purposes. However, if I use an XML with, say, one child, then that child is displayed. If I then remove that child, then nothing is displayed (and so I see no way to display the message). What is the best way to display a message (like "No items") in the Tree component should the dataprovider be empty? -- View this message in context: http://www.nabble.com/How-to-display-message-in-empty-Tree-component-tp20030878p20030878.html Sent from the FlexCoders mailing list archive at Nabble.com.