cpu taking 100%
All,
I have simple grid with xml table model having 30-40 rows max at a time. When i just move around the mouse on the table for few seconds, I can see the CPU runs up to 88 - 99%.
Is there any method that i need to set or is it a common behaviour?
thank you
I have simple grid with xml table model having 30-40 rows max at a time. When i just move around the mouse on the table for few seconds, I can see the CPU runs up to 88 - 99%.
grid.setHeaderText(tableHeaders);
resultsTable.setXML(data);
grid.setCellModel(resultsTable);
grid.refresh();
grid.setRowCount(resultsTable.getCount());
grid.setColumnCount(4);
grid.setCellFormat([string, string, string,string]);
grid.setSelectionMode("single-row");
grid.onCellDoubleClicked = function(event, column, row){
var id = this.getCellText(0, row);
window.location.href = newLocation+id;
}
grid.setSelectorVisible(true);
grid.setSelectorText(function(i){return (this.getRowPosition(i)+1) });
grid.setSelectorWidth(35);
grid.setStyle('width', '100%');
grid.setStyle('height', 200);
Is there any method that i need to set or is it a common behaviour?
thank you
Raj Nair
July 19,