hi after i tried the code came up with another problem what if i want
to automatically removeItemAt(0) when 5 items in my datagrid


this is what i have so far but i get an error in datagrid component
....
private function AutoB():void{
if (_xlcdatagrid2.length >= 2)
{
this._xlcdatagrid2.removeItemAt(0);
}
}
....
change="datagrid.selectedIndex.AutoB()"
...





--
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/
 


Reply via email to