Yellowfin reports provide a great way of formatting data in a report column via Column Formatting. There are numerous predefined formatters that let you display values in unique ways besides text, numbers, date, etc, but the application also allows users to create their own custom formatters. This is done by formatting data types based on a user-defined Java class, which allows for parsing the returned database value and transforming it into another format. This guide will teach you how to do just that.
Implementation of a custom formatter can be done by extending Yellowfin’s CustomFormatter class and defining all the required functions. This is covered in detail in this section.
This guide is broken into the following sequential sections:
Custom formatter implementation: The core functions required to code a custom formatter.
Embedded HTML: Learn about including embedding HTML in customized values.
Formatter packaging: Once your custom formatter has been defined, learn how to package it for Yellowfin.
For further reference, see the custom formatter appendix.
|