Feedback...and followup questions.
firstly, thanks once again Manish for the suggestion. The behaviour
in CellPress event has changed from flex1.5. because before the
selectedindex was set at the cellpress event stage.
a couple of follow up questions;
1) everything is now alot more strictly typed. then why isn't
the 'event' parameter strictly typed ?(in the 2nd datagrid example in
livedocs) eg
<mx:DataGrid cellPress="cellPressEvt(event);">
2) i want dg.focusedCell = {rowIndex:2, columnIndex:2} no matter
where the user clicks on the editable datagrid. any ideas?
thanks
bod
--- In [email protected], Manish Jethani <[EMAIL PROTECTED]>
wrote:
>
> On 2/8/06, bhaq1972 <[EMAIL PROTECTED]> wrote:
>
> > If you run my test in flex 1.5 the result is different..... the
> > selectedIndex and event.itemIndex (aka rowIndex in flex2 beta) are
the
> > same, as long as your dg.selectable=true.
> >
> > i'm sure this is a bug in flex2 beta.
>
> In Flex 2.0, the "cellPress" event is dispatched before the selection
> is changed. If you want to do something after the selection is
> changed, you should do it in the "change" event. That works?
>
--
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/