Getting Started
Free Javascript Dashboard / Record List Component
DashboardJS
DashboardJS (www.dashboardjs.net) is a free, modular, responsive, open source Dashboard / Record List component to display records in a sleek and modern way, built entirely in vanilla Js, with zero dependancies. You can have different tabs that show different recordsets complete with pagination, sorting, filtering, and you can switch views for each recordset between Card view, and List view, and each record, field and action come with a multitude of events that you can hook onto to process data and change behaviour.

DashboardJS is fully themeable, all you need is knowledge of HTML & CSS.
DashboardJS works either Synchronously (full data loaded and fed into the Dashboard component before initiation), or Asnychronously (Dashboard loads page by page through Fetch API).
Download: DashboardJS.zip Website: https://www.dashboardjs.net
Setting up
This is the basic HTML to load the dashboard
Simplest Example:
Adding tabs, fields and actions
Everything past the raw data is optional. Add config when you want to rename a field, change how a value is displayed, or attach behaviour.
Where to go next
The config object nests the same way the UI does:
Top-level options, profile, and a full two-tab example
One entry per recordset β icon, description, view mode, paging
Images, field layout, and record-level events
Columns β naming, formatting, linking, visibility
Per-record buttons and menus
How every function in the config is called
Any of value, icon, url, visibility, class, style and width may be a function instead of a static value, and every component accepts onClick, onRender, onMount and onBeforeRemove. Every one of them receives a single context object β destructure the keys you need:
See Callbacks for every context key and what each hook returns.
Last updated