Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Hiding winforms Datagrid 'selector' column

Posted on 2003-10-29
4
Medium Priority
?
439 Views
Last Modified: 2008-02-20
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
0
Comment
Question by:rjuch
[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
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
the-edge earned 200 total points
ID: 9640147
set the RowHeadersVisible of the datagrid to False:

DataGrid1.RowHeadersVisible = False

the edge
0
 

Author Comment

by:rjuch
ID: 9640191
No, that gets rid of column headers, ie. first row.. i want to get rid of that grey 'column' on the left
0
 
LVL 3

Expert Comment

by:the-edge
ID: 9640217
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
 

Author Comment

by:rjuch
ID: 9640247
Sorry man, misread your comment and used columnHEadersVisible :)
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

718 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