the best way I found was setting length=0 myArray.length = 0; //empties the array Thanks
On Nov 19 2008, 5:44 am, "Vinod M. Jacob" <[email protected]> wrote: > Just set the array to null > myArray = []; > > To change the data in datagrid just declare the array as Bindable and then > change its data. > > On Tue, Nov 18, 2008 at 8:13 PM, Natacha <[email protected]> wrote: > > > Hi to everyone! > > > I need to remove all elements form an array, I have a combo box and a > > data grid, so every time i select from combo box the data in the data > > grid have to change. the dataprovider of the datagrid is an Array. > > > thank you. > > > Sorry about the english, i am a hindu , but leaving in Postugal so my > > english is not that good. > > Once again thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

