use:
//dg is the id of the datagrid object
dg.dispatchEvent(new MouseEvent());

I'm not sure for the code, just written here. But the logic is
dispatching the event on behalf of the datagrid.

I remember using the same approach before, so it should work.

yigit

Daniel Gold wrote:
> are you using the MouseEvent in the event handler? If not, default 
> that parameter and just call the function directly
>
> private function clickHandler(event:MouseEvent=null):void
> {
> }
>
> private function otherFunction():void
> {
>     clickHandler();
> }
>
> On Tue, Jul 29, 2008 at 8:30 PM, markgoldin_2000 
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
>     If I have a click listener on DG's cell can I execute cell's click
>     programmatically, something like:
>     cellObject.click()
>     or somehow else to excute listener?
>
>     Thanks
>
>
>  

Reply via email to