Hi,

First, you cannot use the progressbar in the data model.
what you should have is :
var data = [[1,2],[1,50]];

then, in order to show the second column [values 2 and 50] you should choose
a renderer
http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.columnmodel.Basic~setDataCellRenderer.
Unfortunately, you cannot use a widget [as qx.ui.indicator.ProgressBar is],
but only low-level dom nodes. you can use existing renderers:
http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.cellrenderer
or extend one, and make it look like a progressbar. [check
createDataCellHtml method].

finally, you could indeed use the widget qx.ui.indicator.ProgressBar when in
edit mode.
check:
http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.columnmodel.Basic~setCellEditorFactory
and implement qx.ui.table.ICellEditorFactory to use
qx.ui.indicator.ProgressBar.

cheers,
Gabi

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/progress-bar-in-a-table-tp6274854p6275579.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to