@yahoogroups.com
Subject: Re: [flexcoders] Re: AUTO
DELETE ITEMS IN DATAGRID
Yeah if it's saying undefined method, you're going to want to make sure
you are calling the right function on the right object. From the code below it
looks like your DataGrid does not have an id, so try giving your
Yeah if it's saying undefined method, you're going to want to make sure you are calling the right function on the right object. From the code below it looks like your DataGrid does not have an id, so try giving your datagrid an id, then call removeItemAt on the dataProvider that goes with that
Ahh, I see. I think what you need to do is listen for the dataChange
event on the data grid you want to keep at 5 items. In the event
handler, count the rows in the data provider. If it's more then 5,
then do your removeItemAt(0);
Here's more info on dataChange if you are unfamiliar with
3 matches
Mail list logo