Completed
Last Updated: 11 Dec 2015 07:52 by ADMIN
ADMIN
Anton
Created on: 06 Jun 2013 03:56
Category: GridView
Type: Bug Report
1
FIX. RadGridView - does not scroll correctly when AutoSizeRows and EnableFastScrolling are set to true.
RadGridView - does not scroll correctly when AutoSizeRows and EnableFastScrolling are set to true.

Code to reproduce:
radGridView1.BeginUpdate();

radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
radGridView1.AutoSizeRows = true;
radGridView1.EnableFastScrolling = true;

DataTable dt = new DataTable();
dt.Columns.Add("A");
dt.Columns.Add("B");
dt.Columns.Add("C");

for (int i = 0; i < 50; i++)
{
    string[] array = new string[3];
    array[0] = i.ToString();
    array[1] = i.ToString();
    array[2] = i.ToString();

    dt.Rows.Add(array);
}

radGridView1.DataSource = dt;

radGridView1.EndUpdate();
0 comments