Ai.aiAssistantWindow
configurationDefines the configuration options for the AI AssistantWindow in the Grid.
ai.aiAssistantWindow
ObjectThe buttons for interacting with the AI AssistantWindow.
The predefined array values are:
CloseRefreshMinimizeMaximizePin
Triggered when a AI Assistant Window has finished its opening animation.
ai.aiAssistantWindow.animation
Boolean|ObjectA collection of {Animation} objects that is used to change the default animations for the AI AssistantWindow. When set to false, all animations will be disabled.
ai.aiAssistantWindow.appendTo
Object|StringThe element to which the AI AssistantWindow will be appended.
Default: document.body
Determines whether the AI AssistantWindow will be focused automatically when opened.
Default: true
Triggered when a AI Assistant Window is closed either by the user or through the close() method.
Event Data
e.userTriggered Boolean
Indicates whether the close action was triggered by the user either by clicking the Close button or by pressing Esc. When the close method was called, this field is false.
e.preventDefault Function
If invoked prevents the Window from closing.
Specifies a URL or request options from where the AI Assistant Window will load its content.
For URLs which start with a protocol (for example, http://), a container
iframeelement is automatically created. As this behavior may change in future versions, try to always use the iframe configuration option.
Triggered when a AI Assistant Window has finished its closing animation.
Triggered when a AI Assistant Window has been moved by the user.
ai.aiAssistantWindow.draggable
Object|BooleanEnables (true) or disables (false) the dragging of the AI AssistantWindow.
Default: true
Triggered when a AI Assistant Window has been moved by the user.
Triggered when an Ajax request for content fails.
Event Data
e.xhr jqXHR
The XHR request object as returned from jQuery.ajax.
e.status String
The status of the request as returned from jQuery.ajax.
ai.aiAssistantWindow.height
Number | StringSpecifies the height of the AI AssistantWindow.
The maximum height (in pixels) that may be achieved by resizing the AI AssistantWindow.
Default: Infinity
The maximum width (in pixels) that may be achieved by resizing the AI AssistantWindow.
Default: Infinity
Triggered when the user maximizes the AI Assistant Window.
The minimum height (in pixels) that may be achieved by resizing the AI AssistantWindow.
Default: 50
The minimum width (in pixels) that may be achieved by resizing the AI AssistantWindow.
Default: 50
Triggered when the user minimizes the AI Assistant Window.
ai.aiAssistantWindow.modal
Boolean|ObjectSpecifies whether the AI AssistantWindow will display a modal overlay over the page.
Default: false
Triggered when a AI Assistant Window is opened, that is, when the open() method is called.
ai.aiAssistantWindow.pinned
BooleanSpecifies whether the AI AssistantWindow will be pinned, that is, that it will not move together with the page content during scrolling.
Default: false
A collection of one or two members which define the initial top and/or left position of the AI AssistantWindow.
Triggered when the content of a AI Assistant Window has finished loading via Ajax, when the Window iframe has finished loading, or when the Refresh button has been clicked on a Window with static content.
Enables (true) or disables (false) the resizing of the AI AssistantWindow.
Default: true
Triggered when the user resizes the AI Assistant Window.
Triggered when the AI Assistant Window is restored to its previous state(maximized or minimized) by pressing the restore button, or when the restore() method is called.
Enables (true) or disables (false) the scrolling of the AI AssistantWindow contents.
Default: true
Sets a predefined size to the AI AssistantWindow. The width and height configuration options override the predefined size.
The supported values are:
autosmallmediumlarge
Default: "auto"
ai.aiAssistantWindow.title
Object|String|BooleanThe text in the title bar of the AI AssistantWindow. If set to false, the AI AssistantWindow will be displayed without a title bar.
Default: "AI Assistant"
ai.aiAssistantWindow.visible
BooleanSpecifies whether the AI AssistantWindow will be initially visible.
Default: false
ai.aiAssistantWindow.width
Number | StringSpecifies the width of the AI AssistantWindow.