Expand my Community achievements bar.

SOLVED

itemFocusIn Event not called

Avatar

Level 1

Hello Folks.

I try to get details of my data when a itemFocusIn is beeing called. Unfortunately with the code below, the event is not called Can anybody tell me what ist wrong ???

   <mx:DataGrid id="Grid1" dataProvider="{srv.findAll.lastResult}" width="100%" height="100%" itemFocusIn="srv.getDetail(Grid1.selectedItem.ID);"/>

P.s. I habe executed the call "srv.getDetail(Grid1.selectedItem.ID);" on my buttons onclick ... that works perfect!

OAD

1 Accepted Solution

Avatar

Correct answer by
Level 3

You could use an itemClick instead.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 3

You could use an itemClick instead.

Avatar

Level 1

Hi Michael.

I just tried to use the other event, and it works! Perfekt. Where did you find this event? I tried to look in the adobe specs and could not find it

Oliver

Avatar

Level 3

It's there, if you look at the events that the DataGrid dispatches in the Language Reference.