Hi Infragistics team,I have an UltraGrid with a merged column and two normal columns.If the ActiveRowAppearance.ImageBackground is set, it is not applied to the merged column. So in the active row, only the two normal columnshave the ImageBackground. In the merged column the default blue background is shown.
public Form1(){ InitializeComponent(); this.initializeGrid(); this.bindData();}private void initializeGrid(){ this.ultraGrid1.DisplayLayout.Override.ActiveRowAppearance.ImageBackground = WindowsFormsApplication1.Properties.Resources.ActiveGridRow; this.ultraGrid1.DisplayLayout.Override.ActiveRowAppearance.ImageBackgroundStyle = Infragistics.Win.ImageBackgroundStyle.Stretched; this.ultraGrid1.DisplayLayout.Bands[0].Columns["Col1"].MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;}private void bindData(){ var list = new List(); list.Add(new WindowsFormsApplication1.ListItem { Col1 = "Test1", Col2 = "Test1", Col3 = "Test1" }); list.Add(new WindowsFormsApplication1.ListItem { Col1 = "Test1", Col2 = "Test2", Col3 = "Test2" }); list.Add(new WindowsFormsApplication1.ListItem { Col1 = "Test1", Col2 = "Test3", Col3 = "Test3" }); this.bindingSource1.DataSource = list;}
Who can help?Thanks a lotDetails: Windows.Forms UltraGrid 2015.2 V15.2.20152.2023
Hi rkremer,
try to set the DisplayLayout.DefaultSelectedBackColor property to "Transparent". It worked for me.
Hi Sergio,
thank you! It worked for me too for the active row :-)
But now, if I click one of the normal cells, the merged cells lose the ImageBackground...crazy...any hints?
Best regards
I was able to reproduce the issue you described where clicking on one the the normal cells causes the merged cell's background to disappear. I'm not sure that this is expected, so I will write this up for developer review. I will open a private case for you to track the activity on the development item.
Please let me know if you have any questions.
Hi Mike,
ok, how can I track the private case?
Thank you and
best regards
Hello,
You should now see the case on your Support Activity page. The development issue ID for this item is 232298.
Please let me know if you have any further questions.