What I am looking to do is be able to edit three cells in a datagrid row? Is it possible to edit only those three cells? or would the whole row have to be editable? And how would I do this? Would it be done through an event? Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
let’s say your DataGrid have four column col1, col2, col3 and col4 and you only want to allow user to edit first three.
you can set the fourth column to read only.
col4.IsReadOnly = true. This will workThis can be done while initializing DataGrid or while defining DataGridColumn