Hi,
the celleditor combobox works only if the column is a
cellrenderer.Dynamic right?
Isn't it possible to put the listData into the combobox without using
cellrenderer.Dynamic?
I guess the answer is no, isn't it?
Here is my solution for this problem:
I made my own table-class which inherit from the
qx.ui.table.Table-class.
In my table-class I defined some methods to simplify the creation and
working of the table.
If the defined colmodel is a "celleditor.comboBox" then it expects an
object like this:
{
options": ["test1", "test2", "test3"],
"selected" : "test2"
}
If I place this directly into the cell it doesn't work cause the
expected Value should be an String, Int or Boolean. So I place the
"selected"-value into the cell and
set this "options"-value in the userData of the
celleditor.ComboBox-Widget and then I can access it when the method
createCellEditor() is called.
Then I make this to fill the comboBox:
var userData = this.getUserData("myValues");
this.setListData(userData);
now my question: do I have to inherit also the celleditor.ComboBox and
overwrite the createCellEditor()-method or are there other solutions
(will there be other solutions in the near future)?
Thanks a lot.
Tobias
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel