The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team March 15, 2004 06:04 AM UTC
Try
this.gridControl1.CurrentCell.MoveTo(someRow, someCol, GridSetCurrentCellOptions.SetFocus);
If you are doing this from FormLoad, you may also have to call
this.gridControl1.ForceCurrentCellMoveTo = true;
ADAdministrator Syncfusion Team March 15, 2004 10:52 PM UTC
many thanks !
ADAdministrator Syncfusion Team March 16, 2004 01:41 AM UTC
it's not work ,the cell get Focus . but cursor didn't move into the cell that I set . I require that like mouse click on the cell .
ADAdministrator Syncfusion Team March 16, 2004 07:26 AM UTC
Make sure the grid has focus as well by calling this.grid.Focus() before the MoveTo call.
If that does not make things work, then in addition, call this.grid.CurrentCell.BeginEdit() after the MoveTo call.
Is this grid embedded in some container like a TabPage or child form or ??. If so, you may need to also call something to make it the active control. Eg, if the grid''s parent is a form, then you might call this.ActiveControl = this.grid.