[Flashcoders] automatic datagrid?

2006-05-05 Thread Éric Thibault
Is there a way to select without any user interaction the first line of data inside a datagrid component and thus trigger the change event (highlight, code on change event,...)? Like the selectedNode of the tree component... Thanks a million --

Re: [Flashcoders] automatic datagrid?

2006-05-05 Thread John Giotta
DataGrid.selectedIndex = x; Will select the row 'x'. On 5/5/06, Éric Thibault [EMAIL PROTECTED] wrote: Is there a way to select without any user interaction the first line of data inside a datagrid component and thus trigger the change event (highlight, code on change event,...)? Like the

Re: [Flashcoders] automatic datagrid?

2006-05-05 Thread John Giotta
You could also do: DataGrid.dispatchEvent({type:change}); But this is a hack... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you