Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sequence of execution (how to fix the asynchronous problem in flex)

 
Lindomar Ferreira
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to run a function only after the dataGrid (flex 3) is completely filled with data?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by completely filled with data - when the data is loaded, or the component is rendered? DataGrid has a dataChange event that will fire when the data is set on the DataGrid. Waiting for a CreationComplete event should be OK if you need to wait till after the lifecycle of the comonent has run and it is visible on the stage.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic