Hi All,

    I am getting this error when I give a large amount of data to my datagrid 
that consists  of a line chart and bar chart in it's columns.

Error: Error #1502: A script has executed for longer than the default timeout 
period of 15 seconds.
at mx.managers.layoutClasses::PriorityQueue/removeSmallestChild()
at mx.managers::LayoutManager/validateClient()
at mx.core::UIComponent/validateNow()
at 
mx.controls.dataGridClasses::DataGridBase/mx.controls.dataGridClasses:DataGridBase::drawItem()
at 
mx.controls.dataGridClasses::DataGridBase/mx.controls.dataGridClasses:DataGridBase::makeRowsAndColumns()
at mx.controls::DataGrid/mx.controls:DataGrid::makeRowsAndColumns()
at 
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::updateDisplayList()
at mx.controls::DataGrid/mx.controls:DataGrid::updateDisplayList()

to fix this I did following and it worked:
    scriptTimeLimit="500" scriptRecursionLimit="50000"

but is there any other way around ?




 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

Reply via email to