Formatting a Nested 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>
....
 
J

Joe Fallon

I use nested repeaters instad of grids.
Much finer control and it works quite well.
 
S

saji varghese

hi,

i also encountered a problem while nesting a datagrid in a datagrid to
display hirarchical data.

i was not able to reffer or get the events from the datagrid in the
template

if any body have a solution pls..

regds
saji
 

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

Top