GridAIAssistantWindowSettings
Interface representing all configuration options of the AI Assistant Window.
Definition
Package:@progress/kendo-angular-grid
Properties
appendTo?
ViewContainerRef
Defines the container where the Window is inserted. This changes the place in the page hierarchy where the Window appears.
autoFocusedElement?
string
Sets the query selector for the element to focus automatically.
cssClass?
any
Sets custom CSS classes for the Window wrapper element. Accepts any value supported by ngClass.
draggable?
boolean
Specifies is the Window is draggable.
height?
number
Sets the height of the Window in pixels.
htmlAttributes?
{ [key: string]: string }
Sets HTML attributes for the Window wrapper element. Accepts string key-value pairs.
keepContent?
boolean
Set to true to persist the Window content in the DOM when minimized.
left?
number
Sets the left offset of the Window in pixels.
messages?
WindowMessages
Sets the text of the labels shown in the Window. Use for localization.
minHeight?
number
Sets the minimum height of the Window in pixels.
minWidth?
number
Sets the minimum width of the Window in pixels.
Use the preventClose predicate to check if closing the Window should be prevented. Applies to clicking the Close button, pressing Esc, or calling the close method. Return true to prevent closing. If the Close button or Esc is used, a WindowCloseResult instance is passed.
The event argument.
windowRef?WindowRefThe window reference, provided only when you create the window using a component.
Returns:boolean
resizable?
boolean
Specifies if the Window is resizable.
state?
WindowState
Sets the initial state of the Window.
title?
string
Sets the Window title.
titleBarContent?
TemplateRef<any>
Defines the content of the title bar.
top?
number
Sets the top offset of the Window in pixels.
width?
number
Sets the width of the Window in pixels.