<p>I have a DataGrid, populated with objects in an ArrayCollection.  After updating one of the objects' fields, I want the screen to update.  The data source is not bindable, because I'm constructing it at runtime (and I don't understand how to make it bindable on the fly yet -- that's another question).</p>

<p>In this situation, if I call InvalidateDisplayList() on the grid nothing seems to happen.  But if I call invalidateList(), the updates happen.  (And it's very smooth too -- no flicker like I would expect from invalidating a window in WIN32.)</p>

<p>So the question:  what is the difference between InvalidateList and InvalidateDisplayList?    From the documentation it seems like either one should work.</p>

[{'answer_id': 74481, 'author': 'beingdevious', 'author_id': 12550, 'author_profile': 'https://Stackoverflow.com/users/12550', 'pm_score': 0, 'selected': False, 'text': '<p>invalidateDisplayList() merely sets a flag so that updateDisplayList() can be called later during a screen update. invalidateList() is what you want. </p>\n\n<p><a href="http://livedocs.adobe.com/flex/2/langref/mx/core/UIComponent.html#invalidateDisplayList()" rel="nofollow noreferrer">http://livedocs.adobe.com/flex/2/langref/mx/core/UIComponent.html#invalidateDisplayList()</a></p>\n'}, {'answer_id': 74504, 'author': 'mikechambers', 'author_id': 10232, 'author_profile': 'https://Stackoverflow.com/users/10232', 'pm_score': 5, 'selected': True, 'text': '<p>invalidateList tells the component that the data has changed, and it needs to reload it and re-render it.</p>\n\n<p>invalidateDisplayList tells the component that it needs to redraw itself (but not necessarily reload its data).</p>\n'}]
['https://Stackoverflow.com/questions/74269', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4540/']