Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2275
Setting a cell to not allow editing
posted

I have a data grid where certain cells should not be editable.  

When the grid first draws, I have three rows of data and some cells can be edited, and some not.  Then I have a button where I add a an object to the ObservableCollection populating the list, and in this case sometimes a cell should have its editing turned off.

How do I do this in the code behind?

Thanks.

Mike