Add some code for future formatting of values
This commit is contained in:
@@ -48,6 +48,12 @@ Public Class GridLoader
|
|||||||
.VisibleIndex = oVisibleIndex
|
.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)
|
oView.Columns.Add(oColumn)
|
||||||
Next
|
Next
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user