Skip to main content

IEditorInfo Interface

Provides information about a serialized property’s value editor used in the Properties window.

Declaration

export interface IEditorInfo

Properties

content Property

Specifies the name of an HTML template used by a complex object’s editor.

Declaration

content?: string

Property Value

Type Description
string

The HTML template name.

editorType Property

Specifies the type of the editor’s model.

Declaration

editorType?: any

Property Value

Type Description
any

The type of the editor’s model.

extendedOptions Property

Gets additional options for DevExtreme UI widgets.

Declaration

extendedOptions?: any

Property Value

Type Description
any

Editor options.

Remarks

You can use the extendedOptions property to customize editors for specifying parameter values as demonstrated below.

function CustomizeParameterEditors(s, e) {
    if (e.parameter.type === 'System.DateTime') {
        // Show a calendar only without a time part
        e.info.editor = $.extend({}, e.info.editor);
        e.info.editor.extendedOptions = $.extend(e.info.editor.extendedOptions || {}, { type: 'date' });
    }
}

header Property

Specifies the name of an HTML template specifying the editor and header of a complex object.

Declaration

header?: string

Property Value

Type Description
string

The HTML template name.