String Display Format
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:
| Property | Description |
|---|---|
| Case | Sets text to Upper or Lower case |
| Content | Replaces cell value; useful when using Condition (e.g. replace null with 'N/A') |
| Empty | Show nothing in cell (but underlying value remains) |
| Prefix | Prefix to use before the cell text |
| Suffix | Suffix to use after the cell text |
| Trim | Trims text (both start and end) |
String Presets
There are no presets available for string columns.
Column Formatting: String Display Formats
- In this example 4 System String Display Formats are provided:
Nameis uppercaseLanguageis given a Prefix of 'Lang-'Descriptionis set to Content of "[Too long to show...]" - using Condition (leveraging theLENAdapTableQL Expression Function) that cell value is over 100 charactersLicenseshows as Empty - using Condition where Cell Value was 'Other'