0

Listbox item remain selected

asked 2017-11-30 19:36:33 +0800

Ildelian gravatar image Ildelian
3 2

I have a bandbox with a Listbox inside.

My Listbox has "onSelect" listener, and inside this i do a "myListbox.clearSelection()" afte read the value of the selected item and write it on a TextBox.

The problem is, that when I open the bandpopup another time, the selected item in the List remain selected and Marked in blue color, and i can't select the same element twice because it's remain selected.

For example: -> Open the Bandpopup. -> Clik in a element, the value is written on the Textbox, and the "clearSelection()" is called. -> The user clear the Textbox. -> Reopen the Bandpopup. -> Click on the same item in the ListBox. -> Nothing occur, because this element remains selected.

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2017-11-30 19:36:33 +0800

Seen: 4 times

Last updated: Nov 30