To disable a row, use either of the following approaches:
1. Handle the ShowingEditor event and set the e.Cancel property to true in the event handler.
2. Bind the editor's IsReadOnly property inside CellTemplate (supported starting with version 15.2).
Both these approaches are demonstrated in the underlying sample project.
Question Comments
Added By: Andreas Isbarn at: 3/1/2013 2:23:39 AM
I need the viewModel to underrstand the xaml.
Added By: Andrey K (DevExpress Support) at: 2/24/2016 11:10:14 PMHi Andreas,
We accidentally discovered that your initial post was out of scope of our Support Center for a long time.
Please accept our sincere apologies for not responding in a timely manner. You can see a view model that is used in the example in the ViewModel.cs file.
Should you have any other questions, let me know.
Thanks,
Andrey