Populate ComboBox when clicked/opened?


I have a grid that contains a combo box. I only want to populate that combo box if somebody clicks it (as there’s a lot of data, and indicates that they want to do something to that object represented by the row). I’ve not found any obvious way to do this yet. I’ve got it working with an FocusListener, but this also gets called when switch between browser views. Is there a way to listen on the combo box open event (or button click to open?

I can prevent this by marking the combo box with the data I loaded - but I’d really perfer to just as the combobox if it has data, or how many entries it has. Is there a way to do that - I don’t see any obvious API methods.

Thanks from a noob,