A full stack trace with line numbers is like a fingerprint.  Very helpful when 
doing detective work.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of ilikeflex
Sent: Wednesday, April 08, 2009 12:06 PM
To: [email protected]
Subject: [flexcoders] ArrayCollection | DataGrid | SortonColumn





Hi

I have datagrid with 150 records. I do sorting when someone clicks on datagrid. 
And i am using the ArrayCollection as dataprovider to the datagrid.When user 
changes the option in combo box then show the new data in the datagrid.

In my command class i am doing

MessagesModel.getInstance().messageList.removeAll();
and then adding the new records.

Sometime i am getting the error
RangeError: Index '-1' specified is out of bounds.

but if i do not do the sort everthing is fine.

Any pointers ...

Thanks
ilikeflex

Reply via email to