Row conditional formatting with enum value

4 posts, 1 answers
  1. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 12 Aug 2009 Link to this post

    Hello,

    I am having problem setting up conditional formatting with enum value.

    The grid is bound to the list of objects which have the enum called Priority { High, Normal, Low }. I am setting different colors based on the priority and the formatting is not working. The case sensitive has no effect.

    Any ideas ?
  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 13 Aug 2009 Link to this post

    Hello Roland,

    Currently conditional formatting doesn't support enum values. You should use CellFormatting event instead. Please check this KB article.

    Best wishes,
    Jack
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 13 Aug 2009 Link to this post

    Hello,

    Thanks for answer. It seems that the conditional formating object works only with numbers.

    The question is why the constructor supports string values if they are not working ?
  5. Answer
    Jack
    Admin
    Jack avatar
    2335 posts

    Posted 14 Aug 2009 Link to this post

    Hello Roland,

    Actually it works with numbers and strings. Currently it doesn't support enum values.

    Regards,
    Jack
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top