Hi,

Iam using 0.8.2 and i need to add a ComboBox / SelectBox in one of the
columns of a Table. Should the cellrenderer be dynamic or boolean? I have
assumed it to be dynamic and proceeded as given below.

        var mergeRenderer = new qx.ui.table.cellrenderer.Dynamic();
        var tcm = table.getTableColumnModel();
        var comBox = new qx.ui.table.celleditor.ComboBox(); 
        tcm.setDataCellRenderer(0, mergeRenderer);
        tcm.setCellEditorFactory(0, comBox);

How could i populate the comBox with data. For e.g. "Cat", "Dog"? 
Initially how to set it to some value using  tableModel.setData(rowData)?


-Shankar
-- 
View this message in context: 
http://www.nabble.com/ComboBox---SelectBox-inside-a-table-tp26077731p26077731.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to