Solved

How can I suppress the record selector column or resize it in a datagridview?

Posted on 2014-09-26
2
292 Views
Last Modified: 2014-09-26
I want to resize or eliminate the "record selector column" in a datagridview in a VB.Net project in VS2012.

By record selector column I mean the left-hand most column where you can click without clicking in data.  It's resizable at run time, but I need to know how to suppress or size to 0 at design time.

Thanks!
0
Comment
Question by:g_johnson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 28

Accepted Solution

by:
Ark earned 500 total points
ID: 40347205
DataGridView1.RowHeadersVisible = False 'hide
DataGridView1.RowHeadersWidth = 15 'change width

Open in new window

You can change these properties either from code or from design view
0
 
LVL 4

Author Closing Comment

by:g_johnson
ID: 40347213
Thanks.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

742 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question