I have a dropdown list widget which is populated from a service which returns an infotable, it all works fine. However, there are times when it is perfectly valid for there to be no returned rows in the infotable. When this happens I would like to display the text "< none >" in the header row when the drop down is not activated. Ideally I'd like to use some form of state formatting so the text would be grey.
Does anyone know how I might achieve this? I have tried putting "< none >" in the TextNoSelection property for the widget, but this appeared to do nothing.
Solved! Go to Solution.
I don't think there's an option to do it right on the widget properties. But you my try other approaches:
thanks for the quick reply. I Think I'll go with one of your options. I had thought of #2 but thought that maybe there was some built in list widget functionality I was missing. Do you know how the TextNoSelection widget property is supposed to work. Didn't seem to do anything for me, even when I didn't select any item in the list..
hope you don't mind, I marked Mac's answer as correct instead as it seemed a better answer for people that might want to know.