Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
DataGridView - disable cell in DataGridViewImageColumn
Beata
10y
1.3k
1
Reply
I have a windows forms app with a DataGridView. One of the columns is a DataGridViewImageColumn with a 'Edit' image that when clicked allows the user to edit the data that's in this row. At runtime, I want to find a particular row and then disable the clickable image that is in this particular row/column combination, i.e. just this one cell. I tried the grid[column,row].ReadOnly property set to true but that did nothing. The user was still able to click the Edit image. Ideally, I would like to disable that Edit image so that it's not clickable in this particular cell. If that's hard to do, removing that Edit image completely from this particular cell at runtime would also be acceptable.
thanks,
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Saving textbox values without any button clicking event C#
Windows Application