Skip to main content

Features

This page helps you start working with DHTMLX Window and explore its functionality in depth.

How to start with DHTMLX Window​

In this section you will learn how to initialize Window, attach DHTMLX components to it, and integrate it into your applications.

Initialization​

TopicDescription
Basic initializationLearn how to initialize a Window (Example)
Two WindowsThe example shows how to initialize two windows with different content on a page
Initialization of a modal windowLearn how to initialize a modal window and use it to edit data in another widget (Example 1, Example 2)
Attaching widgetsLearn how to attach a DHTMLX component to a window (Example)

Integration​

TopicDescription
Backend integrationLearn how to connect DHTMLX Suite to a backend (Demo)
OptimusLearn how to use the DHTMLX Optimus framework to build DHTMLX-based apps
(the recommended framework for apps with Suite components)
React integrationLearn how to use DHTMLX Window with React (Demo)
Angular integrationLearn how to use DHTMLX Window with Angular (Demo)
Vue integrationLearn how to use DHTMLX Window with Vue.js (Demo)

How to configure Window​

In this section you will learn how to set the initial HTML content of Window, add a footer, a header, a title, and a Close button to it, and more.

TopicDescription
Setting the initial contentLearn how to specify the initial HTML content for Window
Adding a footer to WindowLearn how to add a footer to Window (Example)
Adding a header to WindowLearn how to add a header to Window
Adding a title to WindowLearn how to add a title to the header of Window
Adding a Close button to WindowLearn how to add a Close button to the top right corner of a window (Example)
Making a window resizableLearn how to let users resize the window (Example)
Making a window movableLearn how to let users move the window around the screen (Example)
Showing Window in a custom containerLearn how to place a window into a custom container (Example)
Overflowing browser windowLearn how to allow a window to cross the borders of a browser window (Example)

How to customize Window and change its size​

In this section you will learn how to customize Window and set its size.

TopicDescription
Sizes of a windowLearn how to set the width, height, and minimum size of a window
Attaching HTML contentLearn how to attach HTML content to a window dynamically (Example)
Adding custom buttonsLearn how to add custom buttons to the header and footer of Window (Example)
Applying custom iconsLearn how to apply custom icons to the window (Example)
Styling Window (custom CSS)Learn how to change the appearance of a Window (Example)
List of CSS classesThe CSS classes included in the DHTMLX library

How to work with Window​

In this section you will learn how to show and hide a window, switch it to full-screen mode, set and get its position and size, and more.

TopicDescription
Showing / hiding WindowLearn how to show or hide a window on the page (Example)
Setting the active stateLearn how to set the active state of Window (Example)
Checking visibility of a windowLearn how to check whether a window is visible on the page (Example)
Switching Window to full-screen modeLearn how to display a window in full-screen mode (Example)
Setting / getting Window positionLearn how to set and get the position of a window dynamically (Example)
Setting / getting Window sizeLearn how to change and get the size of a window dynamically (Example)
Getting the container of WindowLearn how to get the HTML element of the window

How to work with Window events​

This section explains how to work with Window events.

TopicDescription
Event basic rulesLearn the basic rules of event handling
Event handlingLearn how to attach, detach, or call the Window events (Example)

API reference​

In this section you will find the Window API reference.

TopicDescription
Window methodsCheck the list of Window methods
Window eventsCheck the list of Window events
Window propertiesCheck the list of Window properties

Common functionality​

In this section you will learn about common library functionality that is useful when you work with Window.

TopicDescription
Touch supportLearn how to work with touch support (Example)
TypeScript supportLearn how to work with TypeScript
Accessibility supportLearn about accessibility support in Window
AwaitRedrawLearn how to run code after the component renders

Any questions left?​


info

Do you need more functionality? Feel free to share your suggestions in the comments below!