I've got 3 questions if anyone could kindly help me on.

I have an itemRenderer that looks like this

<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"; 
backgroundColor="yellow" width="100%">
        
        <mx:Label text="{data.name}" fontWeight="bold"/>
        <mx:Label text="{data.occupation}" fontWeight="bold"/>
        
</mx:VBox>

and is being used in a DataGridColumn.

1) How do i access the DataGridColumn its residing on.
2) Why do i get the following warning

warning: unable to bind to property 'occupation' on class 'Object' 
(class is not an IEventDispatcher)
warning: unable to bind to property 'name' on class 'Object' (class 
is not an IEventDispatcher)

3) Separate issue (observed in the same test). when scrolling..... 
the datagrid headers start moving out of their title areas and 
overlap into the datagrid rows and gives a runtime error 

TypeError: Error #1010: A term is undefined and has no properties.
 at 
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::s
crollVertically()
 at mx.controls::DataGrid/mx.controls:DataGrid::scrollVertically()
 at mx.controls.listClasses::ListBase/set verticalScrollPosition()
 at 
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::m
ouseWheelHandler()
 at mx.controls::DataGrid/mx.controls:DataGrid::mouseWheelHandler()


Any help would be grateful thanks

Bod








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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