Click here to Skip to main content
15,901,853 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi All,
I am using DataGridView at runtime in C# windows form, my DataGridView displaying data
like below

HTML
rack   1   2   3   4   5   6
A1     20  30      40      20
A2     10      20      30  12
A3         24      22      15
B1     12  34  22      67     
B2     11          22      14
B3         24      22      15
C1         14      15      16
C2     34  55          35  25   

now the DataGridView should display like below

HTML
     rack   1   2   3   4   5   6
     A1     20  30      40      20
 A   A2     10      20      30  12
     A3         24      22      15

     B1     12  34  22      67     
 B   B2     11          22      14
     B3         24      22      15

     C1         14      15      16
 C   C2     34  55          35  25  


If possible please help
Thanks to All
Posted
Comments
Kenneth Haugland 8-Aug-12 1:37am    
I dont think grouping is supported column wise...
Dasaradhi_r 9-Aug-12 2:35am    
1) Is it possible for you to go for 3rd party controls?
2) Which dotnet framework are you using?

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