This is a migrated thread and some comments may be shown as answers.

Scroll issue with Virtualization of remote data

3 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 10 Sep 2012, 12:11 PM
Hello,

I've noticed a bug with the the grid scroll when working with the virtualization of remote data.

When I try to scoll until the last row of the grid, sometime the last rows won't be displayed.  Sometimes, I'll be able to see only the top part of the last row, sometime 1 to 5 rows won't be displayed at all and sometime, everything will be displayed correctly.

I did check on the server to make sure that all the data was returned and I looked carefully at my code to make sure there was no bug on the client side.  Then I tried your virtualization of remote data demo and to problem occurs in your demo too.

To reproduce the bug on the Demo, sort the grid by OrderID in DESC order (For some reason, the bug won't occur in the ASC order)

Then take your mouse and scroll all the way down to the last row.  The last OrderID is suppose to be 10248 and 50% of the time, it is.  Then start to scroll up and down mutiple time and then go see the last row's OrderID.  Do this 10+ times and you'll see a couple of different results.

Best regards,

Simon

3 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 13 Sep 2012, 03:31 PM
Hi Simon,

I can confirm that the issue persists in the online demo, but when I tested the same page with the latest build I did not managed to observe the problem. What browser and KendoUI release are you using? Can you please test your project with the internal build and let me know if the problem still persists?

Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Simon
Top achievements
Rank 1
answered on 18 Sep 2012, 11:24 AM
Hello Alexander,

I just installed Q2 2012 SP1 (version 2012.2.913) and now the problem is fixed with Firefox.  However, the problem still occur with IE9 and Chrome.

Simon
0
Alexander Valchev
Telerik team
answered on 21 Sep 2012, 12:02 PM
Hello Simon,

Thank you for the feedback, I will forward this issue to the team for further consideration.
At this stage as a workaround I can suggest to reset the row height on dataBound event of the grid.
$("#grid").data("kendoGrid").bind("dataBound", function(e) {
    this._rowHeight = 0 //reset row height
});


Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Simon
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Simon
Top achievements
Rank 1
Share this question
or