PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
DataGridView - Hide record selectors
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
DataGridView - Hide record selectors
![]() |
DataGridView - Hide record selectors |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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" <grig@discussions.microsoft.com> wrote in message news:2A4E43A6-9114-43BE-B9ED-86F6EFF33197@microsoft.com... > 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 |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

