Completed
Last Updated: 04 Jan 2017 15:58 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 07 Jun 2016 15:08
Category: GridView
Type: Bug Report
2
FIX. RadGridView - when setting the AutoExpandGroups to true and you add a new row the vertical scrollbar hides the row
To reproduce:

DataTable dt = new DataTable();

public Form1()
{
    InitializeComponent();
    
    dt.Columns.Add("Id");
    dt.Columns.Add("Name");
    dt.Columns.Add("Type");
    for (int i = 0; i < 30; i++)
    {
        dt.Rows.Add(i, "Item" + i, "Type" + i % 2);
    }

    this.radGridView1.DataSource = dt;
    this.radGridView1.AutoExpandGroups = true;
    GroupDescriptor descriptor = new GroupDescriptor();
    descriptor.GroupNames.Add("Type", ListSortDirection.Ascending);
    this.radGridView1.GroupDescriptors.Add(descriptor);
}

private void button1_Click(object sender, EventArgs e)
{
    dt.Rows.Add(30, "Item30", "Type3");
}

Workaround: set the AutoExpandGroups property to false and manually expand the groups when a new row is added.
Attached Files:
0 comments