Sure.

The key is that you need to build your DataGrid with defined columns before
your data arrives in AMF. When DataProvider is set, the Columns and DataGrid
are used as a template against DataProvider to define the view.

You can define a labelFunction or cellRenderer to customize the rendering of
any data or cell in the DataGrid. You can render columns that do not exist
in your dataProvider by having labelFunction calculate or format the
results.

Take a look at <mx:DataGridColumn>.

Cheers,

Ted ;)



> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Devis
> Sent: Tuesday, July 19, 2005 6:10 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] DataGrid labelFunction AMF
> 
> Hi,
> it's possibile to write a LabelFunction for DataGrid  with  an AMF?
> 
> for example i wish
> 
> getNumberOrder(item)
> ...
>    RemoteObject.getOrder(item.cod_cli).result.NUMBER_ORDER?
> ...
> 
> pls can you give me some suggestion
> Devis
> 
> 
> 
> --
> 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
> 
> 
> 
> 




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