Hi, if you can see my code, work fine ok, but when flex go to "render" the
performance it's very very slow.
1) Before this function i call a AMF response it's very fast
2) Some other flex component are rendered very fast.
About you, this is a bad approach? can you give some better solution
Thank's
devis
function Init_Taglie()
{
dgmisure.removeAllColumns();
myColumn= new DataGridColumn();
myColumn.headerText = "Stato";
myColumn.width=50;
myColumn.columnName="strecz";
dgmisure.addColumn(myColumn);
myColumn =new DataGridColumn();
myColumn.headerText = "Descrizione";
myColumn.width=150;
myColumn.labelFunction=mx.utils.Delegate.create(this,getDsc_Misura);
dgmisure.addColumn(myColumn);
myColumn =new DataGridColumn();
myColumn.headerText = "Calo";
myColumn.width=50;
myColumn.labelFunction=mx.utils.Delegate.create(this,getTipo_Calo);
dgmisure.addColumn(myColumn);
for(var
row=0;row<mx.core.Application.application.taglie.length;row++)
{
myColumn= new DataGridColumn();
myColumn.headerText =
mx.core.Application.application.taglie[row];
myColumn.width=50;
myColumn.columnName="ma"+(row+1)+"cz";
dgmisure.addColumn(myColumn);
}
}
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hsgbt8n/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122977600/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/