Solution:

dataGrid.dataProvider = dataGrid.dataProvider

Nathan Mynarcik wrote:
Try myDataGrid.removeAllColumns(); and reload it. You can maybe set a timer that calls a function to update it. ------Original Message------
From: Andrew Sinning
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] how to refresh AS2 DataGrid
Sent: Jan 28, 2010 3:56 PM

I want to be able to maintain any user changes to the sorting and column widths of my DataGrid. So, as data changes come in, I changed the properties of existing objects within the dataProvider, as well as adding new items as needed.

The problem I can't figure out how to get the display on the grid to refresh.

If I simply roll my mouse over any row, then the display is refreshed, but how do I do this with AS?

Thanks.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to