Skip to main content
A newer version of this page is available. .

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.

The topic below shows how to update npm packages required for a Web Dashboard:

The topic below shows how to configure corresponding permissions to access resources from a server at a different origin:

Customization

Shows how to save the result of actions a user performs on the client.

See Also