Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!