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
75
How to display a column in red color if value is negative
posted

Hi,

In wingrid, I need to display a column in red color when value of the column is negative, I do not want to display sign in front of negative value. Also it should not affect total of the columns. If a column is negative it should behaive like negative only it appear in red color.

  • 50
    posted

    Set the columns Format property to display negative values without the - sign. 
    Set the columns ValueBasedAppearance  property with a condition like     [Qty] <   0    where [Qty] is the desired column name