Completed
Last Updated: 20 Aug 2015 13:24 by Scott
ADMIN
Dimitar
Created on: 17 Jul 2013 02:56
Category: GridView
Type: Bug Report
1
FIX. RadGridView - ColumnGroupsViewDefinition - columns are resizing when minimizing and then maximizing
To reproduce:
- Create a grid with ColumnGroupsViewDefinition view( Column Groups View)
- Set the AutoSizeColumnsMode to fill 
- Start the project and resize a column
- Resize a column then minimize and maximize
- The column have a different size

Workaround:
-Handle the form layout event like this:
void Form1_Layout(object sender, LayoutEventArgs e)
{
    if (this.WindowState == FormWindowState.Minimized)
    {
        this.radGridView1.GridElement.SuspendLayout();
    }
    else
    {
        this.radGridView1.GridElement.ResumeLayout(true);
    }
}
1 comment
Scott
Posted on: 03 Jun 2014 15:08
This worked well, except I received a message that GridElement was obsolete.  Use TableElement instead, for instance:

this.radGridView1.TableElement.SuspendLayout();