Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

DataGridView with Expand/Collapsible Header Column

$
0
0


is there any way to design DataGridView with Expand/Collapsible Header Column ?

output look like

               + 2010                     +2011
             ------------------    ----------------------
Days      JAN  FEB  MAR    JAN     FEB     MAR
--------  -------------------    ---------------------
1           11     22     20     87     45       66
2           11     22     20     87     45       66
3           11     22     20     87     45       66
4           11     22     20     87     45       66
5           11     22     20     87     45       66
31         11     22     20     87     45       66

when click on (+/-) button then that column will expand & collapse and as well as child columns will be expand & collapse along with parent column.

without using any third part control how can i customize grid for my requirement. please guide me. thanks

Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>