Completed
Last Updated: 12 Sep 2015 06:33 by thuy
ADMIN
Hristo
Created on: 28 Aug 2015 15:41
Category: GridView
Type: Bug Report
0
FIX. RadGridView - exception in GridViewEditManager when cell is not fully visible and edited
Workaround: 
public partial class Form1: Form
{
    public Form1()
    {
        InitializeComponent();
        this.radGridView1.GridViewElement.EditorManager = new MyGridViewEditManager(this.radGridView1.GridViewElement);
    }
}

public class MyGridViewEditManager : GridViewEditManager
{
    public MyGridViewEditManager(RadGridViewElement gridViewElement)
        : base(gridViewElement) { }

    public override bool BeginEdit()
    {
        this.GridViewElement.CurrentView.EnsureCellVisible(this.GridViewElement.CurrentCell.RowInfo, this.GridViewElement.CurrentCell.ColumnInfo);
        this.GridViewElement.CurrentCell.UpdateLayout();

        return base.BeginEdit();
    }
}
1 comment
thuy
Posted on: 01 Sep 2015 02:58
The solution is works well.
Cheers,
:)