Skip to main content

ApiComboboxField

ApiComboboxField is a subclass of ApiBaseListField.

Methods

MethodReturnsDescription
AddOptionbooleanAdds new option to list options.
AddWidgetApiWidgetAdds new widget - visual representation for field
ClearFormatbooleanClears format of field.
DeletebooleanRemoves field from document.
GetAllWidgetsApiWidget[]Gets array with widgets of the current field.
GetClassType"comboboxField"Returns a type of the ApiComboboxField class.
GetFullNamestringGets field full name.
GetInternalIdstringReturns an internal ID of the current field.
GetOptionListOptionGets option from list options.
GetOptionsListOption[]Gets all options from list options.
GetPartialNamestringGets field partial name.
GetTooltipbooleanGets field tooltip
GetValuestringGets field value
GetValueIndexesnumber[]Gets selected value indexes.
IsCommitOnSelChangebooleanChecks if field can commit on selection change.
IsEditablebooleanChecks if field is editable.
IsReadOnlybooleanChecks if field is read only
IsRequiredbooleanChecks if field is required
MoveOptionbooleanMoves option to specified position in list options.
RemoveOptionbooleanRemoves option from list options.
SetCommitOnSelChangebooleanSets whether the field commits changes immediately after selection changes.
SetDateFormatbooleanSets date format for field.
SetEditablebooleanSets whether custom text can be entered.
SetFullNamebooleanSets new field name if possible.
SetMaskbooleanSets mask for field.
SetNumberFormatbooleanSets number format for field.
SetPartialNamebooleanSets new field partial name.
SetPercentageFormatbooleanSets percentage format for field.
SetReadOnlybooleanSets field read only
SetRegularExpbooleanSets regular expression for field.
SetRequiredbooleanSets field required
SetSpecialFormatbooleanSets special format for field.
SetTimeFormatbooleanSets time format for field.
SetTooltipbooleanSets field tooltip
SetValidateRangebooleanSets validate range for field.
SetValuebooleanSets field value
SetValueIndexesbooleanSets selected value indexes.