Actually, the table breaks when the column with cellrenderer.Image has
uninitialized cells. If all the cells in the column are initialized to
null, the table is fine.
In the following, setColumnWidth seems to have no effect on the output:
var columnModel = this.results.getTableColumnModel();
columnModel.setDataCellRenderer(1, new
qx.ui.table.cellrenderer.Image(12, 13) );
this.results.setColumnWidth(1, 15);
________________________________
From: Bill Adams
Sent: Wednesday, October 31, 2007 10:29 PM
To: 'qooxdoo Development'
Subject: RE: [qooxdoo-devel] Icon in column of treevirtual
Cool. I tried out cellrenderer.Boolean, and then
cellrenderer.Image, with my own image, and got what I needed.
Previously I'd tried IconCellRenderer, but it kind of broke the
table.
Thanks,
Bill
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Derrell Lipman
Sent: Wednesday, October 31, 2007 5:04 PM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] Icon in column of
treevirtual
On 10/31/07, Bill Adams <[EMAIL PROTECTED]> wrote:
With Derrell's help, I learned how to make
clicking on a cell trigger an
action.
I would like the cell (in column 1 or 2) to
contain an icon instead of
text. I've spent quite a while on this but am
still stumped.
Take a look at the BooleanCellRenderer. I think it does
exactly what you're looking for (although you'll need to add the click
stuff that you've already learned how to implement).
Derrell
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel