parameterConfig of Input Fields

Adds additional configuration parameter/option to the input. These options modify the behavior of the input field.

Property name

Property values or type

Description

Property name

Property values or type

Description

inputType

String (net.pricefx.common.api.InputType)

Type of the input field.

dataType

values: INTEGER, FLOAT

Type of data (for Simple inputs).

formatType

values: PERCENT, …​

How to format it on the screen.

rounding

boolean

 

decimalPlaces

String

Rounding mode

labels

Map

key:value - name and label of the options (only for options)

from

Float/Date

The lowest range of the input field value allowed.

to

Float/Date

The highest range of the input field allowed.

minLength

Integer

Min length of the entered string.

maxLength

Integer

Max length of the entered string.

list

List

 

noRefresh

boolean

(only for input fields in Configurator)

openButtonLabel

String

Label to display on a button which opens configurator. By default it says "Open" (only for Configurator).

dmSourceName

 

Name of DS or DM (only for DMFilterBuilder, DMFields or DMField).

calculationContext

 

 

targetPage

String

(only for Button Input)

targetPageState

String

(only for Button Input)

targetPageComponent

String

(only for Button Input)

typeCode

String

(only for FilterBuilder)

datamart

 

 

filterFormula

Map<String,String>

Name of the logic which will provide a filter used to limit products/customers in the product picker. Used only with product/customer input, and productGroup/customerGroup input. Sample value: [name: "CustomerPickerFilter"]

columns

List<String>

Names of the columns (only for InputMatrix).

columnLabels

List<String>

Labels of the columns (only for InputMatrix).

columnType

List<<String> - the string is one of "Text", "Numeric", "Money"

Type of the column (only for InputMatrix).

requiredColumns

List<String>

(only for InputMatrix)

readOnlyColumns

List<String>

(only for InputMatrix)

hiddenColumns

List<String>

(only for InputMatrix)

fitFieldWidths

boolean

(only for InputMatrix)

defaultHeight

integer

Approx. multipliers of 30 (only for InputMatrix).

setFixTableHeight

boolean

(only for InputMatrix)

columnValueOptions

Map<String, List<String>>

If a column is of type "option", we can give it a list of its options (only for InputMatrix).

setCanModifyRows

boolean

(only for InputMatrix)

noCellRefresh

boolean

(only for InputMatrix)

sortType

String - ASC, DESC

(only for MultiTier)

validationType

String - VALIDATE, NO_VALIDATION

(only for MultiTier)

Found an issue in documentation? Write to us.