PC Review


Reply
Thread Tools Rate Thread

DataGridView - Hide record selectors

 
 
=?Utf-8?B?Z3JpZw==?=
Guest
Posts: n/a
 
      8th Jan 2007
I'd like to know how to hide record selectors in a DataGridView. (record
selectors - I do not know if this is the correct name, but this is the name
in an MS Access grid)

Thank you,
--
grig
 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      8th Jan 2007
I'm not sure exactly what you're referring to, but if you're talking about
the RowHeaders (the blank cells at the beginning of each row, used to select
the row), you can set the DataGridView.RowHeadersVisible property to false.

--
HTH,

Kevin Spencer
Microsoft MVP
Bit Player
http://unclechutney.blogspot.com

Where there's a Will, there's a William.

"grig" <(E-Mail Removed)> wrote in message
news:2A4E43A6-9114-43BE-B9ED-(E-Mail Removed)...
> I'd like to know how to hide record selectors in a DataGridView. (record
> selectors - I do not know if this is the correct name, but this is the
> name
> in an MS Access grid)
>
> Thank you,
> --
> grig



 
Reply With Quote
 
ClayB
Guest
Posts: n/a
 
      8th Jan 2007
If you want to keep the row headers, but lose the black triangle that
marks the current record, you can 'pad' it out of sight with this
property setting.

this.dataGridView1.RowHeadersDefaultCellStyle.Padding = new
Padding(this.dataGridView1.RowHeadersWidth);

==============
Clay Burch
Syncfusion, Inc.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Record Selectors on continuous form seem to select wrong record Garyth Microsoft Access Form Coding 5 9th Jul 2009 04:30 AM
RECORD SELECTORS JOE POLLOCK Microsoft Access 1 18th May 2009 06:25 PM
Record selectors vb_Dumb Microsoft Access Forms 3 22nd Dec 2008 03:15 PM
Record Selectors VS Combo Box Record Selector =?Utf-8?B?RWFybENQaGlsbGlwcw==?= Microsoft Access Form Coding 4 4th Oct 2006 04:58 PM
Record Selectors =?Utf-8?B?cmhhbm4=?= Microsoft Access 5 25th Feb 2006 01:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:47 AM.