I have an application that calls for a special treatment of grid doubleclick event.
It's not useful the standard routine, edit fields "in position" so allowedit is set to false.
I have tried both doubleclic and mousedoubleclick without success.
The events do not get fired.
If I must allowedit then how can I cancel the standard behavior.
Thanks in advance.
Best regards,
S贸crates A Rivera R
sa.riverar@gmail.com
Hi S贸crates A Rivera
R,
Find the response to the
queries,
Query |
Response |
||
It's not useful the standard routine, edit fields
"in position" so allowedit is set to false. I have tried both doubleclic and mousedoubleclick
without success. The events do not get fired.
|
Note: Have to trigger the
control events from SfDataGrid.TableControl instead of SfDataGrid
|
||
If I must allowedit then how can I cancel the standard behavior.
|
SfDataGrid
is not a cell bound control. it is Data bound control. In SfDataGrid.AllowEditing
property enable and disable for Column or Grid-based but we do
not enable or disable AllowEditing property for a particular cell or row
in SfDataGrid. But you can cancel the editing by using SfDataGrid.CurrentCellBeginedit
event. Code
snippet C# for Editing canceled in SfDataGrid:
|
Find the sample in the attachment.
Regards,
Vijayarasan S
If this post is helpful, please consider
Accepting it as the solution so that other members can locate it more quickly.
Hello.
Thank you very much for your fast response.
Now my app is working.
Thanks again.
Best regards,
S贸crates A Rivera R
S贸crates A Rivera R,
We are glad to know that the reported problem has been resolved at your end.
Please let us know if you have any further queries on this. We are happy to
help you馃槉.