Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IEditorInfo Interface

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

#Declaration

TypeScript
export interface IEditorInfo

#Properties

#content Property

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

#Declaration

TypeScript
content?: string

#Property Value

Type Description
string

The HTML template name.

#editorType Property

Specifies the type of the editor’s model.

#Declaration

TypeScript
editorType?: any

#Property Value

Type Description
any

The type of the editor’s model.

#extendedOptions Property

Gets additional options for DevExtreme UI widgets.

#Declaration

TypeScript
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

TypeScript
header?: string

#Property Value

Type Description
string

The HTML template name.