Click here to Skip to main content
14,735,271 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

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?

Updated 17-Aug-12 5:07am
Nueman 17-Aug-12 10:09am
Note: I googled your question and came up with quite a few references.

1 solution


(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?)

[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.
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.

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