[flexcoders] [Flex2B2] DataGrid refresh problem

2006-04-26 Thread Andrea Varga



Hi!

Here I have another problem with DataGrid:
http://virtualro.co.uk/~andi/flex/datagrid/2/Test2.html
(View Source enabled)

The Change button adds some characters to the first element of the 
DataProvider. But the DataGrid does not refresh its content accordingly.
The Add button adds a new element to the DataProvider. This time the 
DataGrid refreshes, the new element is there, and even the changes made 
before are visible.
What an I missing? Why doesn't my changes show up in the DataGrid?

Thanks,
Andi






--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] [Flex2B2] DataGrid refresh problem

2006-04-26 Thread Karl Johnson



I assume the event is not firing because the length of the dataprovider
has not changed in this case. Just a guess, but try setting the
dataprovider again or setting it to its self to force a reload of its
data. (grid.dataProvider = grid.dataProvider or grid.dataProvider =
dataObject);

|

Karl Johnson 
Cynergy Systems, Inc. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andrea Varga
Sent: Wednesday, April 26, 2006 10:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex2B2] DataGrid refresh problem

Hi!

Here I have another problem with DataGrid:
http://virtualro.co.uk/~andi/flex/datagrid/2/Test2.html
(View Source enabled)

The Change button adds some characters to the first element of the
DataProvider. But the DataGrid does not refresh its content accordingly.
The Add button adds a new element to the DataProvider. This time the
DataGrid refreshes, the new element is there, and even the changes made
before are visible.
What an I missing? Why doesn't my changes show up in the DataGrid?

Thanks,
Andi


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



 








--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.