Wednesday, January 21, 2009

How to set programically Infragistics ultraGrid headers groups

Infragistics ultragrid is very flexible control.

One of nice option is header groups and levels which is not very common knowledge.

Grouped columns look like this:

 


To archieve that the easiest way is use built-in grid's designer.

But if you want to do the same in runtime (set groups programically) you can look at below code snippet:



Labels:

2 Comments:

Blogger Dominik Ras said...

Thanks for sharing that. Very helpful.

June 15, 2012 at 6:51 PM  
Anonymous Anonymous said...

Thanks for the example. but Group Header text alignment is not in center. I have applied the below line to do this- please check-

group.CellAppearance.TextHAlign = Infragistics.Win.HAlign.Center;

but not able to text alignment in center. Please share.

Thanks :)

April 24, 2015 at 8:08 AM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home