Just a small note, it might be safer to use item.toHashCode() rather than item.$$hash
The public API is less likely to change. Christian Schmidt wrote: > Hi Robus, > > if you know the hash id you can also call: > var hashCode = item.$$hash > var sameItem = qx.core.ObjectRegistry.fromHashCode(hashCode); > > and remove the item with: > list.remove(sameItem); > > Cheers, > Chris > > Nathan Hadley schrieb: >> Hi Robust, >> >> You can use the removeAt function if you know the index of the item you >> want to remove. >> >> If you want to change the value you should be able to use setLabel. >> >> HTH >> >> -- >> Nathan Hadley >> www.celcat.com >> Tel: 024 7646 9930 >> CELCAT is the trading name of Corbett Engineering Ltd, >> a limited company registered in England and Wales with >> company number 1448722. VAT number: 418696219. >> Registered office: 21-23 Mercia Business Village, >> Torwood Close, Coventry, CV4 8HX, United Kingdom >> >> -----Original Message----- >> From: robust [mailto:[email protected]] >> Sent: 09 March 2009 14:51 >> To: [email protected] >> Subject: [qooxdoo-devel] Updaing selectBox list items >> >> >> Hello, >> >> I have a selectBox which is loaded with say 10 listItems. Now, I want to >> edit one of the listItems text. How can I do that? Each listItem have a >> uniqueId. So, how can I edit/deleta a single listItem using its id? >> >> Thanks, >> Robust >> > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
