Thomas Bückemeyer schrieb:
> Hello,
>
> Similar to the example in 
> http://demo.qooxdoo.org/current/demobrowser/#table~Table.html I want to 
> use a qx.ui.table.cellrenderer.Boolean() in my remote-Table.
>
> I have tried to add
>
> ----schnipp----
> MyTableModel.setColumns(["Column1", "Colum2", "Column3"],  "datafield1", 
> "datafield2"], false]);
> ----schnapp----
>
> So I expected to see a checkbox in Column3, because I have defined:
>
> ----schnipp----
> MyTableModel.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean());
> ----schnapp----
>
> But that does not work. Any idea whats wrong?
>   
You are off by one. The column index starts with 0 so you have to set 
the cell renderer for the column index '2'.

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[email protected]

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to