Summary

  • AdapTable provides a number of Display Formats to be used with String Columns

AdapTable ships with a number of System String Display Formats.

These are designed to provide Display Formats for string columns.

They are contained in the String Formatter object defined as follows:

PropertyDescription
CaseSets text to Upper or Lower case
ContentReplaces cell value; useful when using Condition (e.g. replace null with 'N/A')
EmptyShow nothing in cell (but underlying value remains)
PrefixPrefix to use before the cell text
SuffixSuffix to use after the cell text
TrimTrims text (both start and end)

String Presets

There are no presets available for string columns.

Column Formatting: String Display Formats
Fork
  • In this example 4 System String Display Formats are provided:
    • Name is uppercase
    • Language is given a Prefix of 'Lang-'
    • Description is set to Content of "[Too long to show...]" - using Condition (leveraging the LEN AdapTableQL Expression Function) that cell value is over 100 characters
    • License shows as Empty - using Condition where Cell Value was 'Other'

Expand to see the String Display Formats