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: Infragistics ultraGrid
2 Comments:
Thanks for sharing that. Very helpful.
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 :)
Post a Comment
Subscribe to Post Comments [Atom]
<< Home