Adaptable

AdaptableCellFormat

Declared in src/common/AdaptableCellFormat.ts

Cell Formatting Configuration

#Definition

| AdaptableCellTextFormat
| AdaptableCellNumberFormat
| AdaptableCellDateFormat

#Properties

16 props

#absoluteboolean

Display the absolute value of the cell value

#case'upperCase' | 'lowerCase'

Custom case to be applied to the cell value

#ceilingboolean

Rounds up to the smaller integer greater than or equal to the cell value

#cellFormatTyperequired'text' | 'number' | 'date'

#dateFormatrequiredstring

Date/Time format

#floorboolean

Rounds down the largest integer less than or equal to the cell value

#maxFractionDigitsnumber

The maximum number of digits to display after the decimal point

#minFractionDigitsnumber

The minimum number of digits to display after the decimal point. A value with a smaller number of fractional digits than this number will be right-padded with zeros.

#minIntegerDigitsnumber

The minimum number of digits to display before the decimal point. A value with a smaller number of integer digits than this number will be left-padded with zeros.

#multiplyBynumber

Multiply the cell value by the given number

#preferredLocaleAdaptableLocaledefault: the global Locale defined in `AdaptableOptions`

Preferred Locale for the number formatting

#prefixstring

Text block to be prepended to the cell value

#roundboolean

Rounds to the nearest integer value

#suffixstring

Text block to be appended to the cell value

#trimboolean

Removes whitespace from both ends of the cell value

#truncateboolean

Remove the fractional part of the cell value

#Used by