performance with multiple objects on page
First i like to thanks Alex for this amazing lib. I have performance problems with my application:
on one page i have app. 10grids (12columns,5rows), 6groups, 20labels, 1tabs meni and render time is more than 8sec. on p4 box.
In the second case i have app. 1200 items in CheckedList and page opening about 10secs.
I using test version 2.0rc1 and plan buying 2.0 when project will be finished, but this slow performance times confusing me. Can someone tell me is this performance times normal for aw or i make some mistakes in the code?
example grid from my code:
example checked list from my code:
on one page i have app. 10grids (12columns,5rows), 6groups, 20labels, 1tabs meni and render time is more than 8sec. on p4 box.
In the second case i have app. 1200 items in CheckedList and page opening about 10secs.
I using test version 2.0rc1 and plan buying 2.0 when project will be finished, but this slow performance times confusing me. Can someone tell me is this performance times normal for aw or i make some mistakes in the code?
example grid from my code:
var indexVolumeTable1_columns = [...data];
var indexVolumeTable1_data = [...data];
var indexVolumeTable1 = new AW.UI.Grid;
indexVolumeTable1.setId("indexVolumeTable1");
indexVolumeTable1.setCellText(function(i, j){return indexVolumeTable1_data[j][i]});
indexVolumeTable1.setHeaderText(function(i){return indexVolumeTable1_columns[i]});
indexVolumeTable1.setColumnCount(12);
indexVolumeTable1.setRowCount(5);
indexVolumeTable1.setSelectionMode("single-row");
indexVolumeTable1.onRowDoubleClicked = function(text){
var id = indexVolumeTable1.getCellValue(0,indexVolumeTable1.getSelectedRows());
window.location="analysis.php?symbol="+id;
}
indexVolumeTable1.setColumnIndices([3,7,11]);
document.write(indexVolumeTable1);
example checked list from my code:
var portfolioComparsionList_data = [..data]
var portfolioComparsionList = new AW.UI.CheckedList;
portfolioComparsionList.setId("portfolioComparsionList");
portfolioComparsionList.setItemText(portfolioComparsionList_data);
portfolioComparsionList.setItemCount(1189);
document.write(portfolioComparsionList);
Kroky
March 3,