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
5549
Format summary Row (change decimal places)
posted

Hi, again a question . With the following Code i add the summary

For Each oBand In Me.Ctrl_Grid1.UltraGrid1.DisplayLayout.Bands

For Each oColumn In oBand.Columns

oBand.Summaries.Add(Infragistics.Win.UltraWinGrid.SummaryType.Sum, oColumn, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn)

oColumn.Width = ((Len(oColumn.Header.Caption) + 2) * nSchriftgroesse) + (4 * nSchriftgroesse)

oColumn.PerformAutoResize(PerformAutoSizeType.AllRowsInBand)

Next

Next

now i have the following result

sum = 128,250000000023

 

but i want only have sum=128,25 (only with two decimal places) how can i set this ?

Parents
No Data
Reply
  • 5549
    Offline posted

    i want remark that now every column need decimal places. only a few. it is column independent

Children