Re: [flexcoders] array collection retrieve one row from database cause error

2008-09-07 Thread Igor Costa
The coeration error it means you're trying to convert an objectProxy to
ArrayCollection. You should convert to array frist and than set the new
array created to the ArrayCollection source.
--
Igor Costa
www.igorcosta.org


On Sat, Sep 6, 2008 at 2:26 PM, xiu_jewel [EMAIL PROTECTED] wrote:

   I had created a timetable in the datagrid. The datagrid is able to
 display individual staff's
 tiimetable. However, I was prompt an error when I click on this particular
 staff to view the
 class schedule.I realised the error is cause by the array collection only
 retrieve a row from the
 database; This is because when I added a new row in the selected staff, the
 error seems to be
 gone.

 Thus, what should I do to remove the error?

 The Error
 http://i192.photobucket.com/albums/z63/nellehs/error.jpg

 Particular Row
 http://i192.photobucket.com/albums/z63/nellehs/databasecopy.jpg

  




-- 

Igor Costa
www.igorcosta.com
www.igorcosta.org


[flexcoders] array collection retrieve one row from database cause error

2008-09-06 Thread xiu_jewel
I had created a timetable in the datagrid. The datagrid is able to display 
individual staff's 
tiimetable. However, I was prompt an error when I click on this particular 
staff to view the 
class schedule.I realised the error is cause by the array collection only 
retrieve a row from the 
database; This is because when I added a new row in the selected staff, the 
error seems to be 
gone.

Thus, what should I do to remove the error?


The Error
http://i192.photobucket.com/albums/z63/nellehs/error.jpg

Particular Row
http://i192.photobucket.com/albums/z63/nellehs/databasecopy.jpg