Prevent grid movement on edit

2 posts, 1 answers
  1. David A.
    David A. avatar
    126 posts
    Member since:
    Aug 2008

    Posted 18 Jan 2012 Link to this post

    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.
  2. Answer
    Jack
    Admin
    Jack avatar
    2333 posts

    Posted 20 Jan 2012 Link to this post

    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).

Back to Top