Thank you!
Thats perfect ;)
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von ericson
Gesendet: Donnerstag, 1. März 2007 12:55
An: [email protected]
Betreff: Re: [qooxdoo-devel] How to put an image into a Table?
Well the best way seems to define your own class, you can have a look at the
source code of BooleanDataCellRenderer.js
You can create the same way your ImageDataCellRenderer ...
Cheers
Ericson
Hugh Gibson wrote:
>
>> The only thing I found is : IconDataCellRenderer but how can I define
>> the icon for this cell?
>
> Check out the documentation for IconDataCellRenderer._identifyImage. You
> derive a class from IconDataCellRenderer and override _identifyImage,
> returning the image details as defined.
>
> For example, we use:
>
> qx.Proto._identifyImage = function(cellInfo)
> {
> return {"url" : cellInfo.value,
> "imageWidth" : 16,
> "imageHeight" : 16,
> "tooltip" : "Read status"};
> };
>
> The cellInfo is set up via the normal cell data definition.
>
> Hugh
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/How-to-put-an-image-into-a-Table--tf3325387.html#a9248277
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel