5 Answers, 1 is accepted
I tested the sample in the virtual scrolling example and it seems to be working as expected on my end. Give the dojo below a try and let me know how it works for you.
Regards,
Viktor Tachev
Progress Telerik
Hi Viktor Tachev,
The dojo link what you provided is not working. If we scroll down the page size is repeating so serial number is repeating.
The row numbers are displayed as expected and are not repeating on my end. I made a short video showing the behavior I am observing. Please check it out and let me know if I am missing something.
Regards,
Viktor Tachev
Progress Telerik
Hello Viktor,
The initial example you provided do not show the problem clearly. please go to link below and you can see that the row number 5 will not be shown and that is simply because the row number rendered incorrectly to 6 instead of 5.
http://dojo.telerik.com/ASINevIw/2
best regards,
Behnam
Hi Behnam,
Thank you for the example provided.
My name is Anton and I will try my best to assist with resolving the pointed issue, during the absence of my colleague Viktor.
In order to achieve the desired behavior, I made changes to the calculation of the record column as follows:
// In the template of the column:
columns: [
{
title: "#",
template: "#= record++ #",
width: 80
},
// In the dataBinding Event handler:
dataBinding: function(e) {
record = (this.dataSource.page()-1) * this.dataSource.pageSize()+1;
}
Give the approach above a try and let me know if further assistance is needed.
Kind Regards,
Anton Mironov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.