Hello,
As you can see i have as headers "Produit consommé", "Indice", "Etat", ....
But i want to duplicate thoses headers for each GroupBox ("Ordre de fabrication : xxxx (x item") but how am i supposed to do ?
This is an overview of what i would like to do :
I tried to apply a multiband viewStyle but it made this (image below) :
I would like to have the same layout but without the red rectangle...
Thanks in advance !
Regards.
Hi,
I'm not sure if it's possible to get exactly what you have here, but if it is, the way to do it would be to use the HeaderPlacement property on the Override.
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { UltraGridLayout layout = e.Layout; UltraGridOverride ov = layout.Override; ov.HeaderPlacement = HeaderPlacement.OncePerGroupedRowIsland; }
If that setting doesn't work, you can try some of the others and see if one of them gives you what you want.
Hi Mike,
I'm using Infragistics 3.2 version , We are not finding HeaderPlacement property to fix the header repetition issue.
Could you please suggest us an alternative to fix the issue in 3.2 version.
Thanks in advance.
Hi Sandy,
What, exactly, are you trying to "fix?" What's the issue you are having?
IF you want to customize the export, you could handle the events of the Exporter like HeaderRowExporting and cancel the header row in some cases. What those cases are would be tricky to determine. If you want to export additional headers, that would be extremely difficult and I don't see any way to do it in a reasonable amount of code.
Much easier just to update to the latest version. :)