"Jose Leon" <[EMAIL PROTECTED]> writes:

> Hello,
> On 5/17/07, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] writes:
>>
>> > Similarly for data cells, you'll want to write your own data cell renderer.
>> > Look at AbstractDataCellRenderer to see what the class needs to implement,
>> > and then, as a simple example of a cell renderer, look at
>> > IconDataCellRenderer.  The default data cell renderer (if you don't specify
>> > one to use instead) is DefaultDataCellRenderer so you may ultimately want 
>> > to
>> > extend that one and override the relevant methods.
>>
>> Also look at the ConditionalDataCellRenderer.  It may already do what
>> you require.
> Is there a possibility to get some samples to do that? I have been
> trying to find them, it would be nice to add them to the snippets
> section.

You can see an example of extending a data cell renderer by looking at
BooleanDataCellRenderer, which extends IconDataCellRenderer.  Extending the
helper classes of Table is an advanced topic, not something that a snippet can
explain.  Although Table can be customized to do nearly anything you want it
to do, some advanced manipulation such as what you are looking for does
currently require studying the source to learn how to do it.

If the ConditionalDataCellRenderer does what you require, that's much easier.
You can see how it is used in examples/Table_3.html.

Cheers,

Derrell

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to