This is a protected method so you cannot call it outside of a subclass.
If you call it in a subclass you should be overriding it in which case
the DG will call it with the right parameters and you only need to
change what it does.

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of arpan srivastava
Sent: Wednesday, November 22, 2006 11:56 PM
To: Flex Coders; Flex Components
Subject: [flexcomponents] How can i call drawHighlightIndicator() of
datagrid from my code ?

 

Hi all,
        How can i call drawHighlightIndicator() of datagrid from my
code. I am having a single coulmn chart which refers to one of the
columns in the datagrid. I want to highlight the corresponding row in
datagrid when I rollover the block in the chart. I have got the
rowIndex. Initially I wrote a method which draws a rectangle over the
datagrid row, but that method fails sometimes.
    I wnat to call drawHighlightIndicator() , but i am not able to set
it's first and last parameters.

drawHighlightIndicator(
        indicator:Sprite,    -   where to get this parameter
        x:Number, 
        y:Number, 
        width:Number, 
        height:Number, 
        color:uint, 
        itemRenderer:IListItemRenderer  - can i get this from listItem
)

 

 

Reply via email to