HTML JavaScript Dashboard Control
- 2 minutes to read
Topics in this section describe how to configure the client-side JavaScript Dashboard control and integrate it in a web application.
You can create a web application with the HTML JavaScript dashboard using one of the following approaches:
Global Namespaces
When you use this approach, the HTML JavaScript Dashboard control comes in a pre-assembled dx-dashboard.js bundle. You need to get the scripts and dependencies from the npm package and manually add them to the page.
Modularity
Alternatively, you can use Dashboard modules to import only the functionality you require. The HTML JavaScript Dashboard uses the following modules: Dashboard, Dashboard.Data, Dashboard.Designer, and Dashboard.Model. Unlike global namespaces, modules are compact and can be loaded on demand. In this approach, scripts and dependencies are installed automatically from the npm package. Use this approach to create a Web dashboard application for Angular, React, Vue, and other frameworks.
Both approaches are based on the client-server model. You need to create a server (backend) project and a client (frontend) application that includes all necessary styles, scripts and HTML-templates.
Basic Configuration
The topics below show how to configure the HTML JavaScript control as a client (frontend) application and how to create and configure a server (backend) project.
- Client-Side Configuration
- Server-Side Configuration
This topic shows how to configure permissions to access resources from a server with a different origin:
Customization
-
Shows how to customize the HTML JavaScript dashboard on the client side.
-
Shows how to access DevExtreme widgets.
-
Describes how to specify the Web Dashboard’s mode.
-
Shows how to save the result of actions a user performs on the client.
-
Describes how to apply or customize the Web Dashboard’s theme.
Updates
Upgrade to a New Package Version
Describes how to update npm packages required for a Web Dashboard.