Well...ok, I did run accross a solution. It's not the one I was looking for but I'll share it.
On the DataGridView, you can set the padding property under RowHeadersDefaultCellStyle to some value that puts the triangle out of the displayable area of the control. This is not too elegant, but it works.
However, if anyone knows a better way, please let me know.
Thanks!
31-07-2007 at 11:56 PM
|
Nick2k3 Level: Big Cheese Registered: 23-11-2003 Posts: 25
quote:MikeG wrote:
Well...ok, I did run accross a solution. It's not the one I was looking for but I'll share it.
On the DataGridView, you can set the padding property under RowHeadersDefaultCellStyle to some value that puts the triangle out of the displayable area of the control. This is not too elegant, but it works.
However, if anyone knows a better way, please let me know.
Thanks!
you can always hide the rowheaders...and create a new column to serve as your rowheader...you have to do this by creating a customized column that will act more like a cursor picture (or whatever you want it to look like and you can inherit from existing ones but i prefer to just base from the plain column class and do what ever it is that you want)
(if you plan to paint the iterated numbers on the new column then use the textrenderer in conjunction)
...by the way that black cursor sucks....
____________________________
Error 404 ...File not found...!!!!