Datagrid within a datagrid?

E

et

Does anyone know how to do a datagrid within a datagrid? I would think you
could put one in a template column, just like you would a label or textbox,
but I get an entirely blank grid. Thank you for your help.
 
E

et

Thanks but not what I'm looking for, I already use the hierarchical grid, it
is a great program.

However, what I'm looking for is a list type within a grid (grid? Listbox?),
when the user is editing a record, so they have a list to select an item
from. A drop down list is not an option, the selected list contains several
fields and the users are confused when they are in one drop down. I'm
trying to find another way to do this. I can't figure out how to use a
listbox within a datagrid either. Can you point me in that direction maybe?

Thanks.
 
E

Elton Wang

What you need is to databind the inner datagrid. You can do the databinding
in datagrid(outer)_ItemDataBound event

HTH
 

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
473,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top