Hello guys,
I need to do something with my grid and I was wondering if this is posible to do.
Ok, I want to achieve following:
I want to merge cells in all my ultragrid, wich is posible using the following line code:
UltraGrid1.DisplayLayout.Override.MergedCellStyle = MergedCellStyle.Always
with this code, I have my ultragrid with merged cells (Picture 2), But I need to achieve this behavior:
The cells should be merged based on a previously merged cell. I mean, they depend on each other (Picture 3).
If you see the image that I attached, I think I'm going to explain better.
How can I achieve this?
Is there any solution?
Hello,
What you could do is to host UltraGrid in your WPF application. How you could do this you could find on the following link:
http://msdn.microsoft.com/en-us/library/ms742875.aspx
http://msdn.microsoft.com/en-us/library/ms751761.aspx
Thank you for using Infragistics Components.
Do you have WPF sample ?
You could easy achieve your goal if you make own implementation of IMergedCellEvaluator interface and set it as MergedCellEvaluator of the column. In the attached sample I show how to do this.
Let me Know if you have any further questions.