Flex datagrid - determining when grid has completed renderering?

Posted by ccdugga on Stack Overflow See other posts from Stack Overflow or by ccdugga
Published on 2009-12-03T12:45:17Z Indexed on 2010/04/19 7:53 UTC
Read the original article Hit count: 290

Filed under:
|
|
|
|

hi,

i have a datagrid which contains a number of itemrenderers, it is populated each time a user does a search. Is there an event which can tell me when the datagrid has completed rendering all new rows and item renderers?

I need to trigger an event once everything has been created so that i can resize then container which holds the grid.

Currently im using DataGridEvent.HEADER_RELEASE and CollectionEvent.COLLECTION_CHANGE events to manage this however the problem with these events is that they get called as each new row is being added to the datagrid. therefore the whole process is becoming sluggish.

Does anyone have any suggestions?

© Stack Overflow or respective owner

Related posts about datagrid

Related posts about event