I my application I have a need to basically merge 2 rows.
So I am using the HtmlViewDefinition to do so.
It all is working great but I want to remove some of the column headers as they are all kind of duplicate(by design) per the data.
The view istructured like this:
So the header basically looks like this:
Code_V1 Name_V1
Code_V2 Name_V2
But I want it to look like this:
Code Name
So I would like to remove the second "row" of the header".
Or if that is not possible, can I make the height be smaller to basically hide the second row.
I am not usre how to do either.
Any ideas os suggestions would be appreciated..
--Chuck
So I am using the HtmlViewDefinition to do so.
It all is working great but I want to remove some of the column headers as they are all kind of duplicate(by design) per the data.
The view istructured like this:
HtmlViewDefinition view = new HtmlViewDefinition(); |
view.RowTemplate.Rows.Add(new RowDefinition()); |
view.RowTemplate.Rows.Add(new RowDefinition()); |
view.RowTemplate.Rows[0].Cells.Add(new CellDefinition("Code_V1")); |
view.RowTemplate.Rows[0].Cells.Add(new CellDefinition("Name_V1")); |
view.RowTemplate.Rows[1].Cells.Add(new CellDefinition("Code_V2")); |
view.RowTemplate.Rows[1].Cells.Add(new CellDefinition("Name_V2")); |
this.gvMembers.ViewDefinition = view; |
So the header basically looks like this:
Code_V1 Name_V1
Code_V2 Name_V2
But I want it to look like this:
Code Name
So I would like to remove the second "row" of the header".
Or if that is not possible, can I make the height be smaller to basically hide the second row.
I am not usre how to do either.
Any ideas os suggestions would be appreciated..
--Chuck