Til,
I have tried everything that Andreas has suggested and was able to put a
button in a grid by creating a renderer, but I have not been able to get the
click event to work on a button or an A tag. With the button, you can see it
being clicked but the code attached to it does not execute. Any thoughts?

Also, it would be very nice to know what pieces need to be covered when
creating a renderer or a new cellEditor for the grid. What things need to be
handled, namely the change to the appearence. What about variable names, are
they set in stone or can we use our oen names? Which leads to the question
"How does an appearence interfear with the functionality of the control?"
This seems like unrelated code.

Is there a Wiki on creating custom renderers?

thanks,
Jim


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

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

Yes. Write a cell renderer. That's what they are for.




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