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.
I am using a grid with the property Options.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell set (in case this matters). This gives me the feel I want where a user clicks on a cell or moves to it using arrow keys, etc and can just type a new value to begin editing the cell. This works fine.
I have added some code behind various buttons on my form to catch any cell edits that are partially completed when the button is clicked - this code is basically of the form:
If Grid.CurrentCell.IsEditing Then
Try
Grid.CurrentCell.EndEdit()
This also works fine. My problem is that after the above code runs to force an EndEdit event on the cell, if the user simply clicks on a cell they can''t just type to begin editing that cell. They have to double click or press F2 to put the cell into edit mode. Am I doing something wrong?
JNJayakumar Natarajan Syncfusion Team April 4, 2006 04:21 PM UTC
Hi Bob,
What version of the Grid are you using? I tried reproducing the similar behavior in this sample (ver. 4.1.0.50). Can you help us reproduce the issue in a sample?
Thanks,
Jay N
ADAdministrator Syncfusion Team April 4, 2006 11:52 PM UTC
I''m using the same version 4.102.0.50 (also using VB instead of C# but I doubt that matters). I tried but couldn''t reproduce the problem by adding to your sample. Maybe my problem has something to do with the fact that when the button is pressed I basically have to use the EdnEdit to capture the updated value, store it in a database and then repopulate the grid with data, including resetting the number of rows & cols, the number of frozen rows & cols, etc?
ADAdministrator Syncfusion Team April 5, 2006 04:26 PM UTC
Hi Bob,
Refer to the following VB sample demonstrates your issue. Please let us know if this helps or try modifying this sample accordingly to reproduce the issue here.
Sample : CurrentCellBehaviour_GC
Best regards,
Madhan
ADAdministrator Syncfusion Team April 5, 2006 09:41 PM UTC
I tried using your sample and modifying to add the relevant code from my application, but was unable to reproduce the following. It''s a fairly minor issue for me, so unless you have any ideas I don''t think it''s worth spending anymore time on. Thanks for your help - sorry I couldn''t get you a reproducible case.