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,
When I click on a cell, it enters editing mode automatically.
How can I block this behavior?
I would like enter in edit mode with F2 or with the second click (no double-click)
Thanks.
ADAdministrator Syncfusion Team November 13, 2002 11:06 PM UTC
> Hi,
> When I click on a cell, it enters editing mode automatically.
> How can I block this behavior?
> I would like enter in edit mode with F2 or with the second click (no double-click)
>
>
> Thanks.
>
>
For this to work you should also specify GridCellActivateAction.DblClickOnCell. To detect if there is a mouse click on a cell that is already the current cell, you could handle the CellClick event and check if the clicked cell is the current cell with CurrentCell.HasCurrentCellAt(e.RowIndex, e.ColIndex). If that returns true, you can call CurrentCell.BeginEdit and set the GridCellClickEventArgs.Cancel property to true.
Stefan