On 12/6/06, Til Schneider <[EMAIL PROTECTED]> wrote:

Jim Hunter wrote:
> I have searched the archives and don't see a solution for my problem. I
> am in need of placing a button into the cell of a Table. And naturally I
> need to be able to respond to the click event of that button.

For performance reasons the table uses plain HTML for cell rendering.
Therefore it is not possible to place qooxdoo widgets in cells. But you
may use a qooxdoo widget as cell editor (this is the widget that will be
shown in the currently edited cell, which is possible by double-clicking
a cell).




 That would be OK with me if I could stuff my own HTML into a cell, but I
tried to put '<button>Hi there</button> into a cell and the tags were
stripped off and just 'Hi there' was rendered. Is there a secret to actually
placing my own HTML into a cell?
Thanks,
Jim



Alternatively, I might be able to get away with a HotLink in the cell
> (did not see any examples of how to make this happen either). Also, what
> about adding a simple image to a cell, or actually one or more images to
> a cell? I know there are image renderers available, but no examples of
> how to make them work.

The BooleanDataCellRendereris a IconDataCellRenderer. It is shown in the
examples and demonstrates how you can write your own IconDataCellRenderer.

> The Table demos are all very simple, we need some advanced demos
> please. And I do believe that Table demo #3 does not even work at
> all.

Yes, you're right: There should be some more demos, e.g. showing how to
place links in a table.

@Andreas Junghans: As far as I know, you are using links in a table. Can
you post a small example to the list?

Demo #3 is much like #2 and #4. These are only performance tests and
don't show different features.



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

Reply via email to