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.
Hi,
In our application, we are using GridDataBoundGrid control. Once the grid is loaded, I need to set focus to the particular cell (Eg. second row, second column) so that the user should be able to edit the text in that cell. Which property or method can be used to set the focus?
SyncFusion version is 3.3
Thanks & Regards,
Prathima
ADAdministrator Syncfusion Team April 4, 2006 09:34 AM UTC
Hi Prathima,
You can set the focus to required cell by using CurrentCell.MoveTo( ) method. Below is the code snippet
// In Form_Load event
this.gridDataBoundGrid1.CurrentCell.MoveTo(2,2,GridSetCurrentCellOptions.SetFocus);
this.gridDataBoundGrid1.CurrentCell.BeginEdit();
Best regards,
Madhan