Derrell,

thanks for the insight. From what You wrote it seems to be a
non-trivial task. Due to other more urgent obligations we will
probably defer the table-with-font feature for some time...

Cheers
Rüdiger

[EMAIL PROTECTED] wrote:
> Rüdiger Herrmann <[EMAIL PROTECTED]> writes:
> 
>> Thanks, that was great help and did the job for most of the widgets.
>> But now I ran into qx.ui.table.Table and I am stuck again.
>> Does anyone know how to set fonts for column headers and rows 
>> (preferably each cell separately)?
> 
> The Table doesn't display "widgets" in its rows, but rather renders the rows
> with HTML as you scroll the table.  The Data Model provides the information
> about what is to be rendered, and the Data Cell Renderer uses that information
> to generate the HTML for each cell.  Therefore, you want the Data Model to
> include rendering information (e.g. fonts, colors, etc.) and the Cell Renderer
> to know how to use that information to render the cells appropriately.  The
> DefaultDataCellRender does not know how to do that; in fact, it expects just a
> simple single value that is placed into the cell.  To accomplish what you
> seek, you should extend AbstractDataCellRenderer (which takes some
> investigation to learn what it's doing) to expect each value in the Table
> Model to contain font information as well as the value to be presented in the
> cell.
> 
> Derrell
> 
> -------------------------------------------------------------------------
> 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


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