M
MSNews
Hi.
I need to set texts to the row headers of a Datagridview, like we can do with column headers.
For example:
========================================
| COLUMN A | COLUMN B | COLUMN B |
ROW 1 | | | |
ROW 2 | | | |
etc..
========================================
I need to set the Row 1, Row 2, etc, to each row header.
I tryed:
DataGridView1.Rows(i).HeaderCell.Value = "some text"
.... but did not works. No text is displayed
The reason I need to use row header is because I want to enjoy
the header behavior (it automatically changes appearance
on mouse mouse, marks the selected row, etc).
There is some manner to set the text?
Cesar
I need to set texts to the row headers of a Datagridview, like we can do with column headers.
For example:
========================================
| COLUMN A | COLUMN B | COLUMN B |
ROW 1 | | | |
ROW 2 | | | |
etc..
========================================
I need to set the Row 1, Row 2, etc, to each row header.
I tryed:
DataGridView1.Rows(i).HeaderCell.Value = "some text"
.... but did not works. No text is displayed
The reason I need to use row header is because I want to enjoy
the header behavior (it automatically changes appearance
on mouse mouse, marks the selected row, etc).
There is some manner to set the text?
Cesar