Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
WinGrid with Merged Column Headers
posted

Hi All:

I've been trying to find a way to create a win grid with a structure like the below: 

 

Category   A

Category   B

Count 1

Count 2

Count 3

Count 4

12

34

56

78

Count1, Count2, Count3 and Count4 are coming from a datasource that I bind at runtime. What I'm struggling with is how to add the two merged columns Category A and Category B that are not in the data source but only used for visual presentation.

 

Is there a simple sample or a code snippet that shows how this can be accomplished with WinGrid?

 

 

 

 

Parents
  • 71886
    Verified Answer
    Offline posted

    Hello,

    Could you please review the sample attached to this post and see if it meets your requirements. Also please take a look at the following link: http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/WinGrid_Grouping_Columns_in_Row_Layout_Mode_using_the_Designer.html
    Please feel free to let me know if I misunderstood you or if you have any other questions.

    GroupsWinGrid.zip
Reply Children
No Data