JavaScript Dashboard Layout is a grid-structured layout component that helps create static and dynamic dashboard layouts with panels. It is also referred as JavaScript Dashboard Layout Template. Dashboard panels are the basic building blocks of a dashboard and can be added programmatically or dynamically at runtime. The panels hold UI components and allow resizing, reordering, dragging and dropping, removing, and adding. This allows users to easily place components at the desired positions within the grid layout.
The HTML5 Dashboard Layout control allows dynamic designing of the layout by adding, removing, resizing, floating, and reordering the panels within the layout.
JavaScript Dashboard Layout with rich UI provides smooth dragging of the panels to replace or re-order at the desired position within the layout.
Easy resizing of a panel in all directions enables quick designing of the layout, and fitting small or large-sized content conveniently.
The panels within the layout will auto arrange by moving in the upward direction to occupy empty spaces available in the layout. This provides effective usage of the layout for panel placement. JavaScript admin template has all the functionality you’ll need to create beautiful, high-performance admin dashboards. With cool neutral colors and plenty of whitespace, it has a modern minimalist design style.
Place any HTML content or HTML UI controls like Grid, Charts, Gauge, Maps, etc. to represent the metrics or KPI as panel content inside the dashboards.
Design a mobile-friendly responsive dashboard that fits all resolutions without any data loss. Stacked panel display is much more adaptive to lower resolutions.
The JavaScript Admin Dashboard Layout supports several built-in themes such as Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and High Contrast. Users can customize any of these built-in themes or create new themes to achieve their own desired look and feel either by simply overriding SASS variables or using our Theme Studio application.
Developers have control over all the UI elements and behaviors of the components to provide the best experience to end users with a rich set of developer-friendly APIs.
Easily get started with the JavaScript Dashboard Layout using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript Dashboard Layout Example that shows you how to render and configure a Dashboard Layout in JavaScript.
<div class="control-section">
<div style="padding:5px;text-align: right">
<button id="add" class="e-btn e-info">Add Panel</button>
</div>
<div id="defaultLayout">
<div id="one" class="e-panel" data-row="0" data-col="0" data-sizex="1" data-sizey="1">
<span id="close" class="e-template-icon e-clear-icon"></span>
<div class="e-panel-container">
<div class="text-align">0</div>
</div>
</div>
</div>
<div id="headerTemplate">
<span id="close" class="e-template-icon e-clear-icon"></span>
</div>
<div id="content"></div>
</div>
import { loadCultureFiles } from '../common/culture-loader';
import { DashboardLayout, PanelModel } from '@syncfusion/ej2-layouts';
/**
* Sample for default functionalities
*/
loadCultureFiles();
let dashboard: DashboardLayout = new DashboardLayout({
cellSpacing: [10, 10],
allowResizing: true,
columns: 5,
});
dashboard.appendTo('#defaultLayout');
let count: number = 8;
document.getElementById('add').onclick = () => {
let panel: PanelModel[] = [{
'id': count.toString() + '_layout', 'sizeX': 1, 'sizeY': 1, 'row': 0, 'col': 0,
content: '<span id="close" class="e-template-icon e-clear-icon"></span><div class="text-align">' + count.toString() + '</div>'
}];
dashboard.addPanel(panel[0]);
let closeIcon: HTMLElement = document.getElementById(count.toString() + '_layout').querySelector('.e-clear-icon');
closeIcon.addEventListener('click', onCloseIconHandler);
count = count + 1;
};
function onCloseIconHandler(event: any): void {
if ((<HTMLElement>event.target).offsetParent) {
dashboard.removePanel((<HTMLElement>event.target).offsetParent.id);
}
}
let closeElement: any = document.querySelectorAll('.e-clear-icon');
for (let i: number = 0; i < closeElement.length; i++) {
closeElement[i].addEventListener('click', onCloseIconHandler);
}
Dashboard Layout component is also available in Blazor, Angular, React, and Vue frameworks. Check out the different Dashboard Layout platforms from the links below,
We do not sell the JavaScript Dashboard Layout separately. It is only available for purchase as part of the Syncfusion JavaScript suite, which contains over 80 JavaScript components, including the Dashboard Layout. A single developer license for the Syncfusion Essential Studio for JavaScript suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
You can find our JavaScript Dashboard Layout demo here.
No, our 80+ JavaScript components, including Dashboard Layout, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their Dashboard Layout alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 80+ JavaScript components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.