Folks,
I have a ultrawingrid 8.2 with couple of columns having a dropdown to allow users to select a value from it. The dropdown (ultradropdown) is bound to the grid cell by setting the valuelist property for the column in the grid. The columns are mandatory and if user does't enter a value, i have to highlight the cell in red color (some color).
I tried to set the cells.appearance.backcolor = color.red, but it doesn't take effect. Is it because of the valuelist bound to the cell. Is there any other way to show some colors in the dropdown bound cells?
Hi,
Are you using AppStyling?
A cell in the grid will pick up the appearance of the selected item in the dropdown. Most of the time, there is no appearance applied to the dropdown cell, so you should normally be able to color the grid cell without a problem.
But if you apply an appearance to the dropdown cell either in code or via appstylist, the dropdown cell's appearance may be overriding the grid cell's appearance.
All of this assumes that there is an item on the list that matches the cell's value, which in this case is null. So maybe I am on the wrong track here.
Valid point Mike. I don't use any appstylist or any appearance to the dropdown, but i'm not able to set back color to the cells. I'm setting the column style of the grid to dropdownlist. Is that a reason ?