Home Forums WinForms controls Xceed Grid for WinForms Allow edit on only one cell in grid Reply To: Allow edit on only one cell in grid

User (Old forums)
Member
Post count: 23064

First, it would be better to use the EditLeft event on the Cell instead of the EditEnded on the Row.

e.g.:

dataRowTemplate1.Cells[ “BatchNumber” ].EditLeft += …

In the event handler, you should be able to cast the sender to a Cell, and get the new value.

If this does not solve your issue, maybe it would be simpler if you would <a href=”mailto:support@xceedsoft.com”>send</a> a sample application reproducing what you are doing (you can use the Northwind DB installed along Xceed components as a substitute to your own data source), so we can investigate the issue further.

You will find the Northwind DB here on XP :

C:\Documents and Settings\All Users\Application Data\Xceed Software\Sample Data

And here on Vista :

C:\ProgramData\Xceed Software\Sample Data

Imported from legacy forums. Posted by André (had 5114 views)