Most base libraries now loaded from googleapis. Changes to the way LiveGridForms...
[infodrom/rico3] / ricoClient / js / ricoLiveGridAjax.js
index 79af917..25f8f94 100644 (file)
@@ -286,7 +286,7 @@ Rico.Buffer.AjaxXMLMethods = {
         newpos=Math.min(this.liveGrid.topOfLastPage(),offset);
         Rico.log("updateGrid: new rowcnt="+eofrow+" newpos="+newpos);
         if (lastTotalRows==0 && this.liveGrid.sizeTo=='data')
-          this.liveGrid.adjustPageSize();
+          Rico.runLater(100,this.liveGrid,'adjustPageSize');  // FF takes a long time to calc initial size
         this.liveGrid.scrollToRow(newpos);
         if ( this.isInRange(newpos) ) {
           this.liveGrid.refreshContents(newpos);