On 3/12/06, yaagcur <[EMAIL PROTECTED]> wrote:

> I have a datagrid where the final row is a sum of the others
> Is there anyway of setting its color to be different in order to
> highlight it. The dataprovider is an arraycollection

Assuming the special row in the data provider is marked with a flag,
you can use conditional formatting, like so:

 <!-- cell renderer -->
 <VBox backgrroundColor="{dataObject.totalsRow ? 'red' : 'white'}">
 ...

> Also is it feasible to lock the row a la columns?

Unfortunately rows can be locked only from the top.  I assume you want
to lock this row as the last row in the data grid, and that's not
possible (or maybe it's possible with some hacks, but I haven't
tried).

Manish


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to