Formatting a Datagrid

R

Roy

Here's my problem for the curious consumption of the group mind... I
have an embedded datagrid which works fine. The child grid is nested
within the parent using a templatecolumn tag. Using the TR html tag I
can get the child rows to appear below the parent rows (i.e.,
"tree-view style"), BUT I can't get the parent rows to display in a
grid layout. They appear as clumped-up text and all the data runs
together in a line.

In other words, only the first parent row displays fine, then all
preceding parent rows are broke, displaying only as plain text.

Anyone have any formatting/layout tips, techniques, or links?

example:
<asp:datagrid ...>
<asp:boundcolumn ...>
<asp:boundcolumn ...>
<asp:boundcolumn ...>
<asp:templatecolumn ...>
<itemtemplate>
<TR><TD>
<usercontrol:nesteddatagrid ...>
</TD></TR>
....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,074
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top