The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V19.1
19.2 (EAP/Beta)
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

IEditorInfo Interface

Provides information about a serialized property's value editor used in the Property Grid.

Declaration

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.