Multiple ConditionalFormattingObjects problem

2 posts, 1 answers
  1. Cristian Apavaloaiei
    Cristian Apavaloaiei avatar
    25 posts
    Member since:
    Aug 2008

    Posted 28 Jun 2010 Link to this post

    I'm trying to use conditional formatting based on two different columns in a grid.
    One is a bool column, based on it i change the row forecolor, the other one is an int and based on it i change the row backcolor. Both are applied to the full row. If i only create the first formatting, it works fine. If i add the second formatting object, the first one does not work anymore. I am only setting RowForeColor on the first formatting object and RowBackColor on the second one. What am i doing wrong? Or are the conditionalFormattingObjects built such that you can only use them on one column at a time on a grid if you apply them to the full row.

    Waiting for your response
  2. Answer
    Jack avatar
    2333 posts

    Posted 30 Jun 2010 Link to this post

    Hi Cristian Apavaloaiei,

    Our conditional formatting feature is designed to handle simpler scenarios and it can't handle this case out of the box.

    You have to use code and handle the CellFormatting event. Please consider the following KB article. Check also our online help for more details. Nevertheless, we plan to extend the conditional formatting feature in future and will include this scenario.

    If you need further assistance with this, don't hesitate to write back.
    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top