Add some code for future formatting of values

This commit is contained in:
Jonathan Jenne
2022-04-21 15:52:19 +02:00
parent ad671443b9
commit 8dba67d3e1

View File

@@ -48,6 +48,12 @@ Public Class GridLoader
.VisibleIndex = oVisibleIndex
}
' TODO: Correclty format all values, but especially currency and numbers
'If oCol.DataType = ColumnType.Decimal Then
' oColumn.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric
' oColumn.DisplayFormat.FormatString = "c2"
'End If
oView.Columns.Add(oColumn)
Next