You probably want to refer to the datagrid's dataProvider, not the datagrid itself.
 
if (this._xlcdatagrid2.dataProvider.length >= 2){
_xlcdatagrid2.dataProvider.removeItemAt(0);
}

Shan


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of tonyx_788
Sent: Sunday, September 03, 2006 2:27 PM
To: [email protected]
Subject: [Junk E-Mail - LOW] [flexcoders] removeItemAt(0) don't work

can somebody please help me with this
i just want to removeItemAt(0) when 6 items in my datagrid automatically

public function AutoB():void{
if (this._xlcdatagrid2.length >= 2){
_xlcdatagrid2.removeItemAt(0);
}
}


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/436 - Release Date: 9/1/2006

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/436 - Release Date: 9/1/2006

Reply via email to