all groups > asp.net datagrid control > october 2006 >
You're in the

asp.net datagrid control

group:

datagrid field to span other columns?


datagrid field to span other columns? JeffP NO[at]SPAM Work
10/18/2006 10:31:40 AM
asp.net datagrid control:
ASP.Net 1.1

How do I get data to span accross other columns ?

I'm not sure if I'm stating this well, but I would like to use the =
Datagrid's paging but I want there to be two rows of data per record.

[SourceCode [Carrier [Agent [Profile [FeeSplit (a few more =
fields)
[Company [States (comma separated list of states to traverse the =
balance of the grid)

In the past I've done

<asp:TemplateColumn......
<asp:Label... Text=3D'<%#..... <br>
<asp:Label... Text=3D'<%#.....
</asp:TemplateColumn

Which works when you want all the data to fit in the column, but I want =
the states to span accross the grid under the other columns

I also know that I could use a repeater, but would like to use the built =
in paging.

TIA

Re: datagrid field to span other columns? JeffP NO[at]SPAM Work
10/20/2006 1:46:58 AM
My ugly solution, this is an admin utility so the UI doesn't have to be =
pretty was to nest an asp Table w/in the table column, as well as the =
header.

TIA

JeffP....
[quoted text, click to view]
ASP.Net 1.1

How do I get data to span accross other columns ?

I'm not sure if I'm stating this well, but I would like to use the =
Datagrid's paging but I want there to be two rows of data per record.

[SourceCode [Carrier [Agent [Profile [FeeSplit (a few more =
fields)
[Company [States (comma separated list of states to traverse the =
balance of the grid)

In the past I've done

<asp:TemplateColumn......
<asp:Label... Text=3D'<%#..... <br>
<asp:Label... Text=3D'<%#.....
</asp:TemplateColumn

Which works when you want all the data to fit in the column, but I =
want the states to span accross the grid under the other columns

I also know that I could use a repeater, but would like to use the =
built in paging.

TIA

AddThis Social Bookmark Button