StringPropertyDescriptor.options Property

Gets or sets the property value options.
 

Property Value

Type: Object
A plain object representing an enum with property names used to generate localization keys with enumLocalizationPrefix
 to retrieve displayed values or property values to be displayed; or an Array of plain objects with properties:
     text    [type: String]  - The text to be displayed by the options property grid editor.
     value   [type: Object]  - The value stored in the property when an option is chosen.
 Or, if isAsyncOptions is true, a jQuery.Promise object which resolves with the above described array.