Re: [qooxdoo-devel] Two (2) column ListItem for SelectBox

2015-03-27 Thread Tom Saddul
Thank you. Indeed I'm having problem with getIcon, getLabel, etc.. when I tried to make my own ListItem based on the original ListItem. Will have to try again. -- View this message in context: http://qooxdoo.678.n2.nabble.com/Two-2-column-ListItem-for-SelectBox-tp7586987p7586991.html Sent fro

Re: [qooxdoo-devel] Two (2) column ListItem for SelectBox

2015-03-27 Thread Fritz Zaucker
How about using setUserData on the list items as a work around? Cheers, Fritz On Fri, 27 Mar 2015, Martin Wittemann wrote: > just took a look at the infrastructure and have a idea how I would get that > done. > > You need a custom list item which could extend from list item but you can not > c

Re: [qooxdoo-devel] Two (2) column ListItem for SelectBox

2015-03-27 Thread Martin Wittemann
Hey, just took a look at the infrastructure and have a idea how I would get that done. You need a custom list item which could extend from list item but you can not change the original label property as this is defined as a String and not an array of strings. So either you add a second proper

[qooxdoo-devel] Two (2) column ListItem for SelectBox

2015-03-26 Thread Tom Saddul
Been trying to find an example of how to create a ListItem with two (2) columns for a SelectBox control but my search and trials are so far in vain. I have seen the ComboTable contrib but I just need to be able to add an item (string array) to a SelectBox like below: var selec