How to have leaf item have 3 states

Hi,

I am have an application that builds 3-state checkbox trees. The customer has come back and asked if the they can set a leaf node to either: ‘Yes’, ‘No’ or ‘Maybe’. Is there a way to do that? If so, pointer please.

Thanks in advance.

Hi,

you may use setItemText method to set the item label:

tree.setItemText(itemId,newLabel,newTooltip);