Versions Compared

Key

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

The use of this routine requires the Power Actions add-on be installed and licensed.

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

BA_createMultiSelectList(label, options, defaultValues, isDisabled[, isRequired, fieldDescription])

Package

poweraction

Alias

Pkg Usage

createMultiSelectList(label, options, defaultValues, isDisabled[, isRequired, fieldDescription])

Description

Excerpt
hiddentrue
Creates a multi select list.

Creates a multi select list.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

label

String

Yes

Field label.

options

String []

Yes

A sub-list of the provided options or an empty array.

defaultValue

String []

Yes

A sub-list of the provided options or an empty array.

isDisabled

Boolean

No

Specifies whether the field is read-only or no.

isRequired

Boolean

No

Specifies whether the field should be marked as required with a dark red asterisk. Note that marking the field as required does not add any validation.

fieldDescription

String

No

A description of the field to be displayed immediately under the input box.

Return Type

None

The returned value has no meaning

Example

Code Block
BA_createMultiSelectList("msel 1", {"option 1", "option 2", "option 3"}, {"option 1", "option 3"}, true, false, "select some options");
BA_createMultiSelectList("msel 2", {"option 1", "option 2", "option 3"}, "", false, true, "select some options");

Image Added

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "pa_routine" and space = currentSpace ( )
labelsarray_routines