Click here to Skip to main content
12,501,337 members (40,254 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# .NET VS2010 .NET4
I am working on windows application. I have a datagridview in form. I want to hide the pointer of the Row Header(which is in traingle form or which occurs on the row selected). I don't want to hide entire row header.

Thanks In Advance !!!
Posted 30-Dec-12 3:41am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Please check the following link

Help removing indicator/pointer in row header of datagridview
http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/346e5839-1813-472b-8b3a-7344118819b3[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

There is one property name RowHeadersVisible set it to false.

RowHeadersVisible[^]
  Permalink  
Comments
Ank_ush 31-Dec-12 6:01am
   
Tejas, I dont want to hide Row header, I just want to hide that pointer which is Traingle. In Row header I am showing Sr. Numbers 1,2,3....
Tejas Vaishnav 1-Jan-13 3:11am
   
you need to add one more column to show sr number, but that row pointer is hidden using that property.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100