SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.numberFormat  property

The string conversion format which is used when display the value of NUMBER field in data cell. 

Getter
function numberFormat(): String
Setter
function setNumberFormat(value: String)
Code -1
    column.styles().setNumberFormat('#,##0.00');
Format description
  1. "0* specifies the minimum number of digits on the left and right sides of point.
  2. "#' on the left side of point specifies the location of thousands separator.
  3. If "," exists on the left side of point, the separator will be added per thousand.
See Also
textFormat
booleanFormat
datetimeFormat
Styles Overview
Examples
Number Value
Column Styles