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
| Topic | Description |
|---|---|
| Basic initialization | Learn how to initialize a Window (Example) |
| Two Windows | The example shows how to initialize two windows with different content on a page |
| Initialization of a modal window | Learn how to initialize a modal window and use it to edit data in another widget (Example 1, Example 2) |
| Attaching widgets | Learn how to attach a DHTMLX component to a window (Example) |
Integration
| Topic | Description |
|---|---|
| Backend integration | Learn how to connect DHTMLX Suite to a backend (Demo) |
| Optimus | Learn how to use the DHTMLX Optimus framework to build DHTMLX-based apps (the recommended framework for apps with Suite components) |
| React integration | Learn how to use DHTMLX Window with React (Demo) |
| Angular integration | Learn how to use DHTMLX Window with Angular (Demo) |
| Vue integration | Learn 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.
| Topic | Description |
|---|---|
| Setting the initial content | Learn how to specify the initial HTML content for Window |
| Adding a footer to Window | Learn how to add a footer to Window (Example) |
| Adding a header to Window | Learn how to add a header to Window |
| Adding a title to Window | Learn how to add a title to the header of Window |
| Adding a Close button to Window | Learn how to add a Close button to the top right corner of a window (Example) |
| Making a window resizable | Learn how to let users resize the window (Example) |
| Making a window movable | Learn how to let users move the window around the screen (Example) |
| Showing Window in a custom container | Learn how to place a window into a custom container (Example) |
| Overflowing browser window | Learn 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.
| Topic | Description |
|---|---|
| Sizes of a window | Learn how to set the width, height, and minimum size of a window |
| Attaching HTML content | Learn how to attach HTML content to a window dynamically (Example) |
| Adding custom buttons | Learn how to add custom buttons to the header and footer of Window (Example) |
| Applying custom icons | Learn 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 classes | The 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.
| Topic | Description |
|---|---|
| Showing / hiding Window | Learn how to show or hide a window on the page (Example) |
| Setting the active state | Learn how to set the active state of Window (Example) |
| Checking visibility of a window | Learn how to check whether a window is visible on the page (Example) |
| Switching Window to full-screen mode | Learn how to display a window in full-screen mode (Example) |
| Setting / getting Window position | Learn how to set and get the position of a window dynamically (Example) |
| Setting / getting Window size | Learn how to change and get the size of a window dynamically (Example) |
| Getting the container of Window | Learn how to get the HTML element of the window |
How to work with Window events
This section explains how to work with Window events.
| Topic | Description |
|---|---|
| Event basic rules | Learn the basic rules of event handling |
| Event handling | Learn how to attach, detach, or call the Window events (Example) |
API reference
In this section you will find the Window API reference.
| Topic | Description |
|---|---|
| Window methods | Check the list of Window methods |
| Window events | Check the list of Window events |
| Window properties | Check 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.
| Topic | Description |
|---|---|
| Touch support | Learn how to work with touch support (Example) |
| TypeScript support | Learn how to work with TypeScript |
| Accessibility support | Learn about accessibility support in Window |
| AwaitRedraw | Learn how to run code after the component renders |
Any questions left?
Do you need more functionality? Feel free to share your suggestions in the comments below!