This is a migrated thread and some comments may be shown as answers.

Prevent grid movement on edit

1 Answer 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
David A.
Top achievements
Rank 1
David A. asked on 18 Jan 2012, 08:22 PM
Hi,
I have a aesthetical issue when editing the grid which can be seen in the Q3 SP1 demos under Columns, Grid Views.  If you change the view to TableView and click in the Phone Column, the grid slightly "jumps" to the left.  If you then click in the ID Column, the grid slightly "jumps" to the right.  This is most noticeable if you look at the column headers.

Any ideas?

Thanks,
David A.

1 Answer, 1 is accepted

Sort by
0
Accepted
Jack
Telerik team
answered on 20 Jan 2012, 06:16 PM
Hello David,

Thank you for bringing our attention to this issue. I logged it in our issue tracking system and it will be addressed in one of our upcoming releases. I updated also your Telerik points.

You can work around the issue by using the code below:

this.radGridView1.TableElement.HScrollBar.ValueChanged += new EventHandler(HScrollBar_ValueChanged);
 
void HScrollBar_ValueChanged(object sender, EventArgs e)
{
    this.radGridView1.TableElement.HScrollBar.Value = 0;
}

If you have other questions, we will be glad to help.
 
Kind regards,
Jack
the Telerik team

SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

Tags
GridView
Asked by
David A.
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or