Grid Focus

On my form load, I disable the grid, Then I enable the grid, I select a cell using MoveTo() I don't get the CurrentCellActivating event!? If i don't do the disable/enable then i get my message, any ideas? Brian

3 Replies

AD Administrator Syncfusion Team April 16, 2003 03:09 PM UTC

In formload, if you want to make sure that a CurrentCell.MoveTo 'takes', then you should set this.grid.ForceCurrentCellMoveTo = true;


AD Administrator Syncfusion Team April 16, 2003 07:27 PM UTC

If the above suggestion handle the problem, also try setting the ActiveControl to the grid. this.ActiveControl = this.gidControl1;


BK Brian Keating April 17, 2003 05:43 AM UTC

> In formload, if you want to make sure that a CurrentCell.MoveTo 'takes', then you should set > > > this.grid.ForceCurrentCellMoveTo = true; > > This solved my problem. thanks for good support. Brian

Loader.
Up arrow icon