> Thank you for your tip.
>
[quoted text clipped - 27 lines]
>> >
>> > Thanks
No, this won't work.
Setting this property to false will completely hide row headers.
I need to keep row headers but hide only Datagird's Row Indicator (Triangle).
Can you advise?
Thanks
> Try DataGrid.RowHeadersVisible = false;
>
[quoted text clipped - 31 lines]
> >> >
> >> > Thanks
Alex Passos - 07 Apr 2005 19:37 GMT
I don't know that there is a way to do that by looking up the Docs. This
might be a really long shot but my next approach would be to intercept the
OnPaint event and do the following:
call the base to paint the control
determine if the selected cell is in the viewable area (docs for this exist
on MSDN).
if the cell is on the viewable area, get the row/col from current cell
using the cell location, find out where the rectangle that contains the
triangle (row indicator) is located (we know its in the same row and before
the first column).
Draw3drect probably can redraw over the indicator with the same color of the
grey cell.
Makes sense?
Yep, its complicated and will be time consuming.
> No, this won't work.
> Setting this property to false will completely hide row headers.
[quoted text clipped - 41 lines]
>> >> >
>> >> > Thanks