Declined
Last Updated: 28 Jan 2020 09:56 by ADMIN
Stoyan
Created on: 24 Dec 2019 06:08
Category: GridView
Type: Bug Report
0
RadGridView: incorrect vertical scrollbar value when scrolling to the last row

Please refer to the attached sample project and the follow the steps in the gif file.

Workaround: scroll to the top and then to the bottom again to update the scrollbar's range

1 comment
ADMIN
Dimitar
Posted on: 28 Jan 2020 09:51

Hello,

There is an issue with the logic in the DoWork event.  Not all of the rows are iterated and that is why the last row does not get navigated. The event handler could be changed this way:

private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
    for (var i = _index; i < this.radGridView1.Rows.Count; i++)
    {
        _index = i; 
        Thread.Sleep(50);
        backgroundWorker1.ReportProgress(i);
    }
}

Regards,
Dimitar
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.