You might checkout

http://demo.qooxdoo.org/contrib/demobrowser/#CanvasCell~trunk%2Fdefault%2F1.4%2Findex.html


-----Original Message-----
From: John de la Garza [mailto:[email protected]] 
Sent: Friday, April 15, 2011 9:13 AM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] progress bar in a table

On Fri, Apr 15, 2011 at 1:24 AM, Gabriel Munteanu <[email protected]> 
wrote:
> Hi,
>
> First, you cannot use the progressbar in the data model.
> what you should have is :
> var data = [[1,2],[1,50]];

yes I now realize that I wasn't making sense to try that...
>
> 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.Bas
> ic~setCellEditorFactory and implement qx.ui.table.ICellEditorFactory 
> to use qx.ui.indicator.ProgressBar.
>

Thank you, this is very helpful

------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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