The className property is used to reference a chunk of code (like the name
of your mxml file would do). You would have to follow all the same namespace
rules as you would if you were to create an Actionscript or mxml
class/component. Unless you have multiple data fields in your item editor
which need to be referenced by typing it to a specific class, it would
probably be better to use the DataGrid.itemEditorDataField property instead.

Best Regards,
...aaron

On 11/18/07, candysmate <[EMAIL PROTECTED]> wrote:
>
>   I have an itemRenderer declared as:
>
> <mx:itemRenderer>
> <mx:Component className ="rendererStyle">
> <mx:Text>
> </mx:Text>
> </mx:Component>
> </mx:itemRenderer>
>
> If I use this again elsewhere I get an error 'class name specified
> more then once in document'.
>
> But I thought the whole idea behind class names was to be able to
> 'group' components for styling etc ...?
>
>  
>



-- 
Aaron Miller
Chief Technology Officer
Splash Labs, LLC.
[EMAIL PROTECTED]  |  206-328-5485
http://www.splashlabs.com

Reply via email to