Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataGrid - Remove left arrow

Status
Not open for further replies.

Ator

Programmer
Jan 23, 2006
26
SE
Hi
I have a really big problem I cant find a solution for.

Does anyone know if there is a way to remove the black arrow to the left, that points out the selected row?
I really want to get rid of that arrow.

Im using VS2003.
 
You may want to look for alternatives to the Datagrid. There are quite a few out there.
 
No, I dont want alternatives.

The datagrid is just fine, I just wonder if it's possible to remove this arrow.

You can make a lot of graphical changes to the datagrid that is not implemented as standard, so I think its not impossible to remove this.

Does anyone have any suggestions?
 
But if I want to remove the column too, in which the arrow is located?
 
RowHeadersVisible doesn remove the most left arrow containing the arrow.

RowHeadersVisible indicates whether the _row headers_ are visible
 
RowHeadersVisible doesn remove the most left arrow containing the arrow.
Does on my system. Do you want to post some code so we can take a look ?
 
Tried it on mine and it does except i used the properties window. Cannot think why that does not work for you?

Age is a consequence of experience
 
Yes, it does work now :) hehe

One mistake of mine, I had a underlaying DataGridTableStyle that I´ve forgotten about. This style did have the property set to true. :|

I the previous post of mine, I said that "RowHeadersVisible doesn remove the most left arrow containing the arrow." Thats not true :) I ment the "ColumnHeadersVisible". I dont know why I mixed RowHeadersVisible with ColumnHeadersVisible :) hehe

But thank you for replying my posts.

Kind regards
Ator
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top