hi Friends,

       Any idea regarding this??

Gautham

On Thu, Jan 27, 2011 at 11:18 AM, Gautam Ram <[email protected]>wrote:

> Hi all,
>
> I have a datagrid which contians 3 datagridcolumns.
> Last datagridcolumn uses one itemRendor.. that is an MXMl file.
> In this column one linkbutton will displayed after loading.
> I need to access this datagrid using keyboard.
> and need to click this link using any keypress.
>
> Gautham
>
>
>
>
> On Wed, Jan 26, 2011 at 11:37 AM, Raj <[email protected]> wrote:
>
>>
>> What do u mean by "* datagrid column change.."*
>> Which class does DGIconRender  extend ?
>>
>> Maybe what you need is to use inline item renderer and attach event
>> listeners.
>>
>> You can also dispatch custom events as Munira said, if that is sufficient,
>> go for it.
>> If you need more control on specific events, then use inline item
>> renderer.
>>
>> -Raj
>>
>>
>> On Mon, Jan 24, 2011 at 3:53 PM, Munira Presswala 
>> <[email protected]>wrote:
>>
>>> hi,
>>>
>>> you can dispatch a custom event from the function onClickEvent and set it
>>> bubbles true and then handle it in main application and addeventListener
>>> should be called on data grid reference.
>>>
>>>  On Thu, Jan 20, 2011 at 1:36 PM, Gautam Ram <[email protected]>wrote:
>>>
>>>> Hi..
>>>>
>>>>     <mx:DataGrid id="dgId" dataProvider="{ddStmt}">
>>>>         <mx:columns>
>>>>             <mx:DataGridColumn dataField="name" headerText="Name"
>>>> width="150"/>
>>>>             <mx:DataGridColumn id="typeId" dataField="type"
>>>> itemRenderer="com.DGIconRender" headerText="file" width="200"/>
>>>>
>>>>         </mx:columns>
>>>>     </mx:DataGrid>
>>>>
>>>>
>>>>
>>>> DGIconRender class ..
>>>> --------------
>>>>
>>>> override public function set data(value:Object):void
>>>> {
>>>>      if(value != null)    {
>>>>         super.data = value;
>>>>     }
>>>> }
>>>>
>>>>
>>>> public function onClickEvent():void{
>>>>     Util.openDocument(data);
>>>> }
>>>>
>>>> <mx:HBox width="100%" height="100%" verticalGap="0" horizontalGap="0"
>>>> verticalAlign="middle" horizontalAlign="center">
>>>>         <mx:HBox id="pdbox">
>>>>             <mx:LinkButton id="testImage" rollOverColor="#FFFFFF"
>>>> textRollOverColor="#000000" click="onClickEvent()"/>
>>>>         </mx:HBox>
>>>> </mx:HBox>
>>>>
>>>> *My issue*:  *select the dataFridcolumn using keyboard and invoke the
>>>> onClickEvent() (In the ItemRendor)
>>>> while datagrid column change.. while am trying to access that function
>>>> using change()  of datafrid
>>>> am getting null object reference *
>>>>
>>>> Gautham
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Jan 20, 2011 at 11:03 AM, Vikas Madan 
>>>> <[email protected]>wrote:
>>>>
>>>>> Gautham, I am not sure if I understood your problem properly. Please
>>>>> share some code for better understanding, so that others can help you.
>>>>>
>>>>> I guess you need to use, itemClick event and do what you are trying to
>>>>> do. But we can give you the most appropriate answer only once we know what
>>>>> you are doing in the code currently.
>>>>>
>>>>> Thanks,
>>>>> Vikas
>>>>>
>>>>> On Wed, Jan 19, 2011 at 8:25 PM, Gautham <[email protected]>wrote:
>>>>>
>>>>>> Hi Friends,
>>>>>>
>>>>>> I am working with a mx:datagrid and one of my column uses itemRendor
>>>>>> and clicking that column uses a function which passes data as
>>>>>> arguement.
>>>>>> I need to access this function from my mxml page using the datagrid
>>>>>> column change.
>>>>>> while am trying to call this function am getting error like null
>>>>>> object reference
>>>>>>
>>>>>> currently the item rendor class is overriding (override public
>>>>>> function set data(value:Object):void)
>>>>>> and this data is sending to the click function.
>>>>>>
>>>>>> How i can call this function from my mxml
>>>>>>
>>>>>> Gautham.
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Flex India Community" group.
>>>>>> To post to this group, send email to [email protected].
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected]<flex_india%[email protected]>
>>>>>> .
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>>>
>>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Flex India Community" group.
>>>>> To post to this group, send email to [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]<flex_india%[email protected]>
>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>>
>>>>
>>>> --
>>>>  You received this message because you are subscribed to the Google
>>>> Groups "Flex India Community" group.
>>>> To post to this group, send email to [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected]<flex_india%[email protected]>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Flex India Community" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<flex_india%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/flex_india?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to