Author: dmorozov
Date: 2007-07-05 11:42:21 -0400 (Thu, 05 Jul 2007)
New Revision: 1483
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
Log:
Init grid control by DOM ready state.
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
===================================================================
---
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2007-07-05
15:17:48 UTC (rev 1482)
+++
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2007-07-05
15:42:21 UTC (rev 1483)
@@ -34,11 +34,15 @@
{pane: GridLayout_Enum.FOOTER, ref: this.client_id +"_" +
"GridFooterTemplate"}
];
var grid = this;
- Utils.execOnLoad(
+
+ Event.onReady(function(){
+ grid.init();
+ });
+ /*Utils.execOnLoad(
function(){
grid.init();
},
- Utils.Condition.ElementPresent(grid.client_id), 100);
+ Utils.Condition.ElementPresent(grid.client_id), 100);*/
this.endInitTime = (new Date()).getTime();
this.rowCallbacks = [];
Show replies by date