Hi,
I hope someone can help me figure out how this thing works. Let’s say I have
a set of values (names) and each value has a corresponding ID. The names are
to be displayed to chose from and the server should get the ID of the chosen
name.
From what I gathered looking at the example in demo browser I need to set
the data cell renderer of the column to  qx.ui.table.cellrenderer.Replace
and its cell editor factory to qx.ui.table.celleditor.SelectBox. Then I need
to set a replace map and a reverse replace map for the renderer, which I did
using the IDs as map keys and names as values. After that comes the setting
of the listData property of the cell editor, I think I’m supposed to use
either an array of names or an array of ids depending on which I want to be
visible. I went with names because IDs are obviously useless. So far so
good, but I ran into a problem while listening for “dataEdited” event: all I
get from the event data is the value of a cell which is the name. But how do
I get its ID? Did I do something wrong?  


--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Table-SelectBox-cell-editor-tp6458518p6458518.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to