Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82109

Scroller scrolling problem for huge datasets

$
0
0
Hello,


I'm using Scroller to navigate through server-side ajax datasets of 1M rows with 30px for each row. It works perfectly with Chrome. But for IE and FF the scrollbar's cursors is wrongly positioned.


If I get Scroller's code right it inserts a <div> as height as the total height (ie 30M px); in order to force the scroll height of the body to be defined to that height. What I observed is that the height in this div is wrong for IE and FF. So MAYBE that's the origin of the problem.

Chrome 27 (Works)
<div style="position: absolute; top: 0px; left: 0px; width: 1px; height: 30000000px;"></div>

Firefox 21
<div style="position: absolute; top: 0px; left: 0px; width: 1px; height: 3e+7px;"></div>

IE10
<div style="left: 0px; top: 0px; width: 1px; height: 21474836.47px; position: absolute;"/>

Firefox writes the height into scientific notation and for an obscure reason IE10 is 8.6M short.


Did by any chance anyone in here had the same problem ?

TIA !

Jan

I've put all the details in here. Just in case it is familiar to anyone ...
http://www.datatables.net/forums/discussion/15860/scroller-broken-for-huge-ajax-data-sets-on-ff-and-ie

Viewing all articles
Browse latest Browse all 82109

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>