Revision: 3375
http://vexi.svn.sourceforge.net/vexi/?rev=3375&view=rev
Author: clrg
Date: 2009-01-26 14:32:19 +0000 (Mon, 26 Jan 2009)
Log Message:
-----------
Eliminate local 'fetching...' issues (needs testing on a laggy system)
Modified Paths:
--------------
trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/table.t
Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/table.t
===================================================================
--- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/table.t
2009-01-26 13:28:47 UTC (rev 3374)
+++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/table.t
2009-01-26 14:32:19 UTC (rev 3375)
@@ -163,7 +163,7 @@
var callFetchData = function(fetchfull) {
// establish the rows the table is attempting to view
viewindex = max(floor(viewy / rowheight), 0);
- viewfinal = min(numrows-1, viewindex+ceil(th_bodyport.height /
rowheight)-1);
+ viewfinal = min(numrows-1, viewindex+floor(th_bodyport.height /
rowheight));
if (setViewInfo) setViewInfo(viewindex, viewfinal-viewindex+1);
// keep body/rows in sync with bodyport
var b = th_body;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn