Represents a widget palette for a dashboardView control.
Namespace: MindFusion.Dashboards
File: DashboardPalette.js
SyntaxJavaScript
Copy Code
|
|---|
// class |
RemarksDashboardPalette is an interactive accordion sidebar component used in DashboardMode.Edit. It organizes available widget templates into collapsible category panels (e.g., "Metrics", "Charts", "Gauges", "Tables") and allows users to drag widgets onto empty dashboard grid cells.
The palette connects to a WidgetRegistry through its registry property. Whenever a new widget template is registered with the registry, the palette automatically updates its UI and displays the template's icon and display name.
When a user drags a widget icon over the dashboard canvas, the palette highlights candidate grid cells. Releasing the mouse fires the widgetDrop event, instantiating the widget and placing it in a new DashboardWidgetContainer at the target cell coordinates.
Inheritance HierarchyMindFusion.Dashboards.Accordion![]()
MindFusion.Dashboards.DashboardPalette
See Also