Creating header in datagridview

  • Thread starter Thread starter DBC User
  • Start date Start date
D

DBC User

I would like to create a datagrid view, with columnheader and
rowheader, is it possible to do that? I know I can create column
header but never seen one example where you can create a row header as
well
Thanks.
 
Marc Gravell skrev:
In winforms?

.RowHeadersVisible = true;
I guess that he want titles on the row headers as well...
Hide the row headers and make the first column look like a header....
 
Marc Gravell skrev:> In winforms?


I guess that he want titles on the row headers as well...
Hide the row headers and make the first column look like a header....

Yes, thank you. Is it the only way of doing it?
 
DBC User skrev:
Yes, thank you. Is it the only way of doing it?

I don't know, - I am quite fresh in .Net framework programming.

I hate the DataGridView because it is ugly, especially in Compact
Framework where the functionality is very limited.
I try to use ListView with View=Details and HeaderSTyle=Nonclickable if
possible.
 
I don't know if it would work, but the address of that cell is dgb.Cell[-1,
rownum]. You could try putting some text in it and see what it does.

RobinS.
--------------------------
Marc Gravell skrev:> In winforms?


I guess that he want titles on the row headers as well...
Hide the row headers and make the first column look like a header....

Yes, thank you. Is it the only way of doing it?
 
Back
Top