On 3/12/06, yaagcur <[EMAIL PROTECTED]> wrote:
> --- In [email protected], "Manish Jethani"
> thams for swift response manish
>
> > Assuming the special row in the data provider is marked with a flag,
> > you can use conditional formatting, like so:
> >
> > <!-- cell renderer -->
> > <VBox backgroundColor="{dataObject.totalsRow ? 'red' : 'white'}">
>
> This works fine but obliterates the cell entry
Okay, when you said "color", I think this is what you were looking for:
color="{dataObject.totalsRow ? 'red' : 'white'}"
> I'd like to try this out ie locking at top
> How would I go about it
Make the totals row the first one in the data provider, and set the
DataGrid's lockedRowCount to 1.
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/