how to disable edit mode?


Hi,
I dont want user to allow editing so I have made EnableEdit false and also made readonly griddataboundgrid in 4.2 version.
Now user can't edit , but it shows the edit cursor. I just want it to be selected as a cell.
It is now showing like editable mode, and so it won't allow me to handle double click event on the particular cell.
Will you please provide me the solution.

Thanks,
Sandeep


3 Replies

AD Administrator Syncfusion Team November 21, 2006 11:22 AM UTC

Hi Sandeep,

A cell can be prevented from getting in to the edit mode by setting the CellType to Static or by handling the CurrentCellStartEditing event and setting the e.Cancel to true.

Best Regards,
Haneef


BR Binada Ramachandran January 9, 2023 08:43 PM UTC

Mainly, On left button click I want to bind the cell to correct data type, allow the user to edit the cell. After editing the cell, I want to show the drawing on the cell in the background. This has become hard to do.

I cannot disable a selection on a cell.



DM Dhanasekar Mohanraj Syncfusion Team January 11, 2023 06:39 AM UTC

Binada Ramachandran,

We have come across a similar query in the support ticket. We kindly request that you refer to that ticket for any further updates. As always, we will be happy to assist you.


Loader.
Up arrow icon