The signature for labelFunction uses an additional column parameter in the DataGrid and DataGridColumn classes.
See the following: http://livedocs.macromedia.com/flex/2/langref/mx/controls/listClasses/ListBase.html#labelFunction
--- In flexcoders@yahoogroups.com, "Clint Tredway" <[EMAIL PROTECTED]> wrote:
>
> an empty second param?
>
> I created a labelFunction for a datagrid column to format a date and i
> got an error saying that the function expected 2 parameters but only
> got 1. In the help docs inside FB, the 1 labelFunction example I found
> only passed in 1 param... so why is it telling me it needs 2? I put an
> param that is empty and the error went away. I am just curious as to
> why this happened..
>
> thanks
>
> --
> diabetic? http://www.diabetesforums.com
> Albert Einstein - "It's not that I'm so smart, it's just that I stay
> with problems longer."
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Software development tool | Software development | Software development services |
Home design software | Software development company |
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___