CustomWindowConfig

Config used to open a Custom Window

TypeScript
export interface

Properties

PropertyTypeDescription
frameworkComponentAdaptableFrameworkComponentReact, Angular or Vue Framework component to use for Custom Window content
iconAdaptableSystemIconNameIcon to display in Custom Window header
idstringUnique identifier for Custom Window
onFrameworkComponentDestroyed() => voidCallback function invoked when framework component is destroyed
positionWindowPositionPosition of window in pixels (provided as x, y)
render(customRenderContext:CustomRenderContext) => string | nullRender function to display content in Custom Window (if not using a framework component)
sizeWindowSizeSize of window in pixels (provided as width, height)
titlestringTitle of Custom Window

Property Details

frameworkComponent

React, Angular or Vue Framework component to use for Custom Window content

TypeScript
frameworkComponent?: AdaptableFrameworkComponent;
Property Value

AdaptableFrameworkComponent

icon

Icon to display in Custom Window header

TypeScript
icon?: AdaptableSystemIconName;
Property Value

AdaptableSystemIconName

id

Unique identifier for Custom Window

TypeScript
id: string;
Property Value

string

onFrameworkComponentDestroyed

Callback function invoked when framework component is destroyed

TypeScript
onFrameworkComponentDestroyed?: () => void;
Property Value

() => void

position

Position of window in pixels (provided as x, y)

TypeScript
position?: WindowPosition;
Property Value

WindowPosition

render

Render function to display content in Custom Window (if not using a framework component)

TypeScript
render?: (customRenderContext: CustomRenderContext) => string | null;
Property Value

(customRenderContext:CustomRenderContext) => string | null

size

Size of window in pixels (provided as width, height)

TypeScript
size?: WindowSize;
Property Value

WindowSize

title

Title of Custom Window

TypeScript
title?: string;
Property Value

string