---
title: "Custom Formatter Appendix"
canonical: "https://wiki.yellowfinbi.com/space/user80/1540529/Custom%20Formatter%20Appendix"
format: markdown
---
> Macro (anchor)



### DataType

**DataType** parameters are used to define the data type of a field to which a formatter is applied. These are defined in Yellowfin's **UserInputParameter** class, as final static integers.

| **Type** | **Description** |
| --- | --- |
| TYPE_UNKNOWN | Unknown Value. |
| TYPE_NUMERIC | Numeric Value. |
| TYPE_DATE | Date Value. |
| TYPE_TIME | Time Value. |
| TYPE_TIMESTAMP | Timestamp Value. |
| TYPE_BOOLEAN | Boolean Value. |

 

 

 

> Macro (anchor)



### RenderType

**RenderType** parameter determines which type of output to render for.

| **Type** | **Description** |
| --- | --- |
| RENDER_HTML | Render for HTML. |
| RENDER_TEXT | Render for Text. |
| RENDER_CSV | Render for CSV. |
| RENDER_LINK | Render as link. |
| RENDER_FILTER_HTML | Render as HTML filter. |

 

 

 

 

> Macro (section)
> 
> > Macro (legacy-content)
> 
> > Macro (legacy-content)