Hi,
I am trying to set the background of the columns using AppStylist (Metro Design). Unfortunately I am unable to figure out what style I have to set to remove the white background in DropDown Cells.
I have attached a screenshot showing the grid with alternating rowcolors and as you can see the Dropdown column is ignoring this Setting.
Can you please tell me what style I need to adapt.
Many thanks
Thomas
Hi Thomas,
The cell will pick up the background color of the selected item on the list. So my guess is that you are somehow applying a color to the list items without realizing it. This happens a lot when an isl file applies a Background color on the Base role. As a general rule, it's a bad idea to use the Base role for anything other than turning off themes.
If it's not the Base role, then it's probably the ValueListItem role. Applying a color to the ValueListItem role affects every individual item. A better way to do this is to apply the color to the ValueList role, instead.
You mentioned Metro - does that mean you are using our Metro isl? Or are you creating one of your own? I thought we fixed this in the latest versions of our isl files. So if it's one of ours, you might be using an older version.
Anyway, if none of this helps, post your isl here and I will check it out and see if I can track down what's going on.
Yes, you were right, I was using the Infragistics Metro isl file with some minor changes.
I updated the isl using the new one of Version 13.1 and it is working now.
Thanks for your help.