|
Name |
Type |
autoOpen
|
bool
|
Sets or gets whether the window will be shown after it's creation.
|
animationType
|
object
|
Sets or gets window's close and show animation type.
Possible Values:
'none'
'fade'
'slide'
'combined'
|
collapsed
|
bool
|
Determines whether the window is collapsed.
|
collapseAnimationDuration
|
double
|
Determines the duration in milliseconds of the expand/collapse animation.
|
content
|
string
|
Sets or gets window's content's html content.
|
closeAnimationDuration
|
double
|
Sets or gets window's close animation duration.
|
closeButtonSize
|
double
|
Sets or gets window's close button size.
|
closeButtonAction
|
object
|
This setting specifies what happens when the user clicks the jqxWindow's close button.
Possible Values:
'hide'
'close'-clicking the close button removes the window from the DOM
|
cancelButton
|
object
|
Sets or gets cancel button. When a cancel button is specified you can use this button to interact with the user. When any user press the cacel button window is going to be closed and the dialog result will be in the following format: { OK: false, Cancel: true, None: false }.
|
dragArea
|
object
|
Sets or gets the screen area which is available for dragging(moving) the jqxWindow. Example value: { left: 300, top: 300, width: 600, height: 600 }. By default, the dragArea is null which means that the users will be able to drag the window in the document's body bounds.
|
draggable
|
bool
|
Sets or gets whether the window is draggable.
|
disabled
|
bool
|
Sets or gets whether the window is disabled.
|
height
|
object
|
Sets or gets the window's height.
|
initContent
|
object
|
Initializes the jqxWindow's content.
|
isModal
|
bool
|
Sets or gets whether the window is displayed as a modal dialog. If the jqxWindow's mode is set to modal, the window blocks user interaction with the underlying user interface.
|
keyboardCloseKey
|
object
|
Sets or gets the key which could be used for closing the window when it's on focus. Possible value is every keycode and the 'esc' strig (for the escape key).
|
keyboardNavigation
|
bool
|
Determines whether the keyboard navigation is enabled or disabled.
|
minHeight
|
object
|
Sets or gets window's minimum height.
|
maxHeight
|
object
|
Sets or gets window's maximum height.
|
minWidth
|
object
|
Sets or gets window's minimum width.
|
maxWidth
|
object
|
Sets or gets window's maximum width.
|
modalOpacity
|
object
|
Sets or gets the jqxWindow's background displayed over the underlying user interface when the window is in modal dialog mode.
|
modalZIndex
|
double
|
Sets or gets the jqxWindow's z-index when it is displayed as a modal dialog.
|
modalBackgroundZIndex
|
double
|
Sets or gets the jqxWindow overlay's z-index when it is displayed as a modal dialog.
|
okButton
|
object
|
Sets or gets submit button. When a ok/submit button is specified you can use this button to interact with the user. When any user press the submit button window is going to be closed and the dialog result will be in the following format: { OK: true, Cancel: false, None: false }.
|
position
|
object
|
Sets or gets window's position. The value could be in the following formats: 'center', 'top, left', '{ x: 300, y: 500 }', '[300, 500]'.
|
rtl
|
bool
|
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts.
|
resizable
|
bool
|
Enables or disables whether the end-user can resize the window.
|
showAnimationDuration
|
double
|
Sets or gets window's show animation duration.
|
showCloseButton
|
bool
|
Sets or gets whether a close button will be visible.
|
showCollapseButton
|
bool
|
Sets or gets whether the collapse button will be visible.
|
theme
|
string
|
|
title
|
string
|
Sets or gets window's title content.
|
width
|
object
|
Sets or gets the window's width.
|
zIndex
|
double
|
Sets or gets the jqxWindow z-index.
|
|
onClose
|
Event
|
This event is triggered when the window is closed.
|
onCollapse
|
Event
|
This event is triggered when the window is collapsed.
|
onExpand
|
Event
|
This event is triggered when the window is expanded.
|
onMoving
|
Event
|
This event is triggered when the window is dragging by the user.
|
onMoved
|
Event
|
This event is triggered when the window is dropped by the user.
|
onOpen
|
Event
|
This event is triggered when the window is displayed.
|
onResizing
|
Event
|
This event is triggered when the end-user is resizing the window.
|
onResized
|
Event
|
This event is triggered when the end-user has resized the window.
|
|
Name |
Arguments |
Return Type |
bringToFront
|
()
|
void
|
Bringing the window to the front.
|
close
|
()
|
void
|
Hiding/closing the current window (the action - hide or close depends on the closeButtonAction).
|
collapse
|
()
|
void
|
Collapse the current window.
|
closeAll
|
()
|
void
|
Closing all open windows which are not modal.
|
disable
|
()
|
void
|
|
destroy
|
()
|
void
|
|
enable
|
()
|
void
|
|
expand
|
()
|
void
|
Expand the current window.
|
focus
|
()
|
void
|
|
isOpen
|
()
|
bool
|
Returns true when jqxWindow is opened and false when the jqxWindow is closed
|
move
|
(double top, double left)
|
void
|
Moving the current window.
|
open
|
()
|
void
|
Opening/showing the current window.
|
hide
|
()
|
void
|
Hiding the current window.
|
resize
|
(double top, double left)
|
void
|
Resizes the window. The 'resizable' property is expected to be set to "true".
|
setTitle
|
(string title)
|
void
|
|
setContent
|
(string content)
|
void
|
Setting window's content.
|