We help IT Professionals succeed at work.

How can I create a grid, within another grid?

Medium Priority
390 Views
Last Modified: 2013-12-25
Hi Experts!

Is it possible to create a grid, within another grid. In other words, i need a basic parent grid, with rows in. Each row needs to be expandable (another grid), and contain +/- 8 rows, with 10 columns.

Every row should basically be an expandable grid/data table - like object.

How can i achieve this?
Comment
Watch Question

I don't think so...

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Commented:
Hello

.NET Frame work, doesn't support this kind of data grid system.


Try using different combination controls, like: combobox with data grid, or listbox with data grid, or listview with datagrid.


Great is our GOD.
:)
rionroc
Dana SeamanDana Seaman (danaseaman)
Commented:
One way to achieve this is to have a second smaller grid that gets filled on demand.
On cell DblClick, fill the grid, make visible and position over cell. Click on smaller grid to set visible to False.
This is similar to in-place editing using a TextBox control in conjunction with a Grid control.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.