SetText

function SetText(sText: string = null): boolean

Description

Sets a String that represents the display text of a list item for the combo box / dropdown list content control.

Parameters

sTextstringdefault: null

The display text of a list item.

Returns

boolean

Try It

// todo_example

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).