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
745
Need to supress zeros in group summary
posted

 

Want to remove 0.00 value by empty in the  summary row

  • 71886
    Verified Answer
    Offline posted

    Hello,

    Could you please try the following code and see if it meets your requirements:

     

            void ultraGrid1_SummaryValueChanged(object sender, Infragistics.Win.UltraWinGrid.SummaryValueChangedEventArgs e)
            {
                if (int.Parse(e.SummaryValue.Value.ToString()) == 0)
                {
                    e.SummaryValue.SummarySettings.DisplayFormat = " ";
                }
            }
    

     Please feel free to let me know if I misunderstood you or if you have any other questions.