I have a datagrid column on my winforms application. When user selects a particular cell, The cell should turn to combobox which is databound, and user is able to edit the cell.
How can I show combobox on editmode?
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.
this.yourdatagridname.Rows[x].Cells[y] = new DataGridComboBoxCell();
where x,y denotes which cell you want to convert
this.yourdatagridname.Rows[x].Cells[y].ReadOnly = false;