Scroller trace output
Scroller trace output
Why, when I enable tracing (trace: true) on the scroller, does the output always say "with rows 0 to 0 rendered by the DataTable" ?
For example:
[code]
Scroll: 1163px - boundaries: -287.5 / -143.5. Showing rows 19 to 28 in the viewport, with rows 0 to 0 rendered by the DataTable
[/code]
What does that mean? Is there something wrong with my setup? It's supposed to be using the "_iDisplayStart" and "_iDisplayEnd" variables and I would have expected them to be populated, no?
For example:
[code]
Scroll: 1163px - boundaries: -287.5 / -143.5. Showing rows 19 to 28 in the viewport, with rows 0 to 0 rendered by the DataTable
[/code]
What does that mean? Is there something wrong with my setup? It's supposed to be using the "_iDisplayStart" and "_iDisplayEnd" variables and I would have expected them to be populated, no?
This discussion has been closed.
Replies
ScrollTest: Requested Start: 0 Length: 72
ScrollTest: Requested Start: 45 Length: 72
ScrollTest: Requested Start: 81 Length: 72
ScrollTest: Requested Start: 134 Length: 72
It keeps re-requesting 1/2 a "page" of data...
ScrollTest: Requested Start: 0 Length: 72
ScrollTest: Requested Start: 16 Length: 72
ScrollTest: Requested Start: 48 Length: 72
ScrollTest: Requested Start: 66 Length: 72
ScrollTest: Requested Start: 68 Length: 72
ScrollTest: Requested Start: 86 Length: 72
ScrollTest: Requested Start: 88 Length: 72
ScrollTest: Requested Start: 104 Length: 72
ScrollTest: Requested Start: 106 Length: 72
ScrollTest: Requested Start: 134 Length: 72
ScrollTest: Requested Start: 136 Length: 72
That's hugely redundant and chatty!
And yes the trace output is chatty, but that's a good thing imho - trace output should be about getting information for what Scroller is doing. If you don't want the trace, disable it.
> with rows 0 to 0 rendered by the DataTable
Not sure why it is doing that. It will happen on the first load if you are using server-side processing since there are no rows, and the trace message is right at that point. However if you see it more than that, perhaps you can post a link to your demo.
Allan
ScrollTest: Requested Start: 134 Length: 72
ScrollTest: Requested Start: 136 Length: 72
Allan
I'm deploying the site again... Send you an email to give you details...
Allan
like the example above...
ScrollTest: Requested Start: 134 Length: 72
ScrollTest: Requested Start: 136 Length: 72
I scrolled 2 rows. Why is it re-requesting data at all? And, if it is, why isn't it just requesting 206-208?
I would assume that it would wait until I got close to a "trigger" point, then requested the _next_ page of data, not the same stuff it already has.
Tom