Paul Williams
Paul Williams

Reputation: 1598

How to remove the first "column" from a datagrid?

I'm trying to use a datagrid in my VB application. But I'm running into a problem. I keep getting this column, shown below highlighted in red, and I can't figure out how to get rid of it.

What property do I use to get rid of this column?

A Window with a datagrid in it

Further more, how can I create a context menu for when I right click on a grid row.

Thanks for any help.

Upvotes: 1

Views: 3357

Answers (1)

MarcinJuraszek
MarcinJuraszek

Reputation: 125630

It's RowHeaderVisible property.

And about context menu, you should check that questions: 1, 2

Upvotes: 4

Related Questions