Etherman
Etherman

Reputation: 1867

How to implement nested columns ?

I am trying to re-develop a Delphi db Windows app with VS2010 C#.

In the Delphi app I made a nested column in my DBGrid component.

The text column ("Dummy Question") normally looks like this:

enter image description here

I then hacked the grid column so I can optionally display it like this:

enter image description here

How do I implement expandable/collapsible nested columns like this with Visual Studio 2010 C# controls?

Upvotes: 0

Views: 604

Answers (1)

amk
amk

Reputation: 282

Have a look at DevExpress datagrid - BandedGridView.

Banded Grid Views allow you to arrange columns into bands. Visually, bands are represented by their headers which are displayed over headers of columns belonging to the band.

BandedGridView Class

Upvotes: 1

Related Questions