Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to use DataGrid inside a dataGrid in which I can show the parent rows in the parent grid and I can show child rows in the inside datagrid.

Is is possible to have DataGrid inside a DataGrid?


Thanks,
Posted
Updated 17-Aug-12 4:07am
v2
Comments
Nueman 17-Aug-12 10:09am    
Note: I googled your question and came up with quite a few references.

1 solution

Yes.

(I wanted to answer just "yes", but this application issues a message "The content it too short". I answered the question, even though such design is questionable to me. Any control can be in a cell of a data grid, so why not another data grid? What is the problem here?)

—SA
 
Share this answer
 
Comments
[no name] 17-Aug-12 15:22pm    
Well.... it does answer the question....
Sergey Alexandrovich Kryukov 17-Aug-12 15:29pm    
Thank you, Wes. You know, some (or many) of your comments to the question would pass as valid answers; I would even up-voted some of them.
--SA
Kenneth Haugland 17-Aug-12 15:22pm    
5'ed. He hasnt even tagged it properly, so, its the best possible answr....
Sergey Alexandrovich Kryukov 17-Aug-12 15:30pm    
Thank you, Kenneth.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900