Hiding winforms Datagrid 'selector' column

Hi

I would like to remove that default column grey selector column that gets added as the first column in a datagrid,
Is it possible and if so how do I do it ?

Regards

Richard
rjuchAsked:
Who is Participating?
 
the-edgeConnect With a Mentor Commented:
set the RowHeadersVisible of the datagrid to False:

DataGrid1.RowHeadersVisible = False

the edge
0
 
rjuchAuthor Commented:
No, that gets rid of column headers, ie. first row.. i want to get rid of that grey 'column' on the left
0
 
the-edgeCommented:
no! this hide the grey column on the left. have you tried it?

the ColumnHeadersVisible property hide/show the column's headers
the RowHeadersVisible property hide/show the row's headers

try it and let me know. i've tried it and it works fine.

the edge
0
 
rjuchAuthor Commented:
Sorry man, misread your comment and used columnHEadersVisible :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.