How to show loading screen when the large data is fetched from database


hi guyz,

 

i have air application wherein have search screen. when user hits search button, database call being triggered , sql result being displayed in datagrid.

 

however, data retrieval process takes time , screen hangs out. looking solution can display loading image, , not make screen hang out, user can @ least make out happening in background.

 

i tried use titlewindow , placed loading image on there. popup never appears on screen.

 

looking ahead discussion/solution.

 

thanks,

hitesh patel.

i added debugging info see part of process time consuming. found query execution taking 20 sec. converting data (~12000 records) array , setting dataprovider datagrid taking ~2 mins.

 

is there better way create dataprovider datagrid other converting array??

 

 

thanks,

hitesh patel.



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support