Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following code snippet shows how to organize header inputs into 2-columns:


Paste code macro
languagegroovy
if (quoteProcessor.isPostPhase()) {	
	// Settings for organising inputs in 2-columns
    displaySettings = [numberOfFieldsPerLine: 2]

    quoteProcessor.addOrUpdateOutput(
        [
          "resultName": "__UI_HeaderDisplaySettings", 
          "resultLabel": "__UI_HeaderDisplaySettings", 
          "resultType" : "OBJECT", 
          "result" : displaySettings
        ]
    )
}