Dimitri,

The column indexes are 0-based.  Did you really mean column 3 in the
comment, as you've used a column index of 3 in the setDataCellRenderer
method, or did you just mean the column with index number 3.  I wonder
if this should be as follows:

tcm.setDataCellRenderer(2, new qx.ui.table.cellrenderer.Boolean());

to render column 3 as boolean, but I can't tell from the non-English
column labels which column is supposed to be boolean.

HTH,

   Gene

On Fri, 2009-08-21 at 20:31 +0200, Dimitri Henning wrote:

> Hi, i do have a problem with and just can see my mistake.
> 
> var tcm = table.getTableColumnModel();
> // Display a checkbox in column 3
> tcm.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean());
> 
> doenst matter what i do, i have NO checkboxes.
> for example:
> tcm.setHeaderCellRenderer(2, new 
> qx.ui.table.headerrenderer.Icon("bla.png", "A date"));
> 
> does work!
> 
> No errors, nothing. Ive attached the code.
> Maybe someone can help.
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________ qooxdoo-devel mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to