Hello all,

I'm having a datagrid view with some columns in it. Now my problem is to enable on the 1st columns cells to click and the rest along with the header must not be able to click or disable it.

Can some one help me with the code please.....

Read this article - http://en.serialcoder.net/FAQ/windowsforms20/615/626/DataGridView/How+do+I+disable+a+cell.aspx

Hi,

Thanks a lot for the reply. But the article doesn't contain what I need. I just need to enable all the cells in the 1st column of all rows, the rest along with header must be disabled. Because now when I click on the header or any other cell other than the 1st column cells it gets crashed, inorder to avoid it I just need to diable all of them.

Please help me in this.........

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.