Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1800
Grid cell highlighting for valuelist as ultadropdowns
posted

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?

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    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.

Children