xtrareports-js-devexpress-dot-analytics-dot-utils-dd679be8.md
Provides information about a serialized property’s value editor used in the Properties window.
export interface IEditorInfo
Specifies the name of an HTML template used by a complex object’s editor.
content?: string
| Type | Description |
|---|---|
| string |
The HTML template name.
|
Specifies the type of the editor’s model.
editorType?: any
| Type | Description |
|---|---|
| any |
The type of the editor’s model.
|
Gets additional options for DevExtreme UI widgets.
extendedOptions?: any
| Type | Description |
|---|---|
| any |
Editor options.
|
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' });
}
}
Specifies the name of an HTML template specifying the editor and header of a complex object.
header?: string
| Type | Description |
|---|---|
| string |
The HTML template name.
|
type?: string
| Type |
|---|
| string |