Skip to Content
You're viewing documentation of an outdated version. Check the latest documentation for v5.x.x
FeaturesWidget Index

Widget Index

This feature is only available in ESP-DASH Pro

Preview

ESP-DASH Pro provides you with a setIndex function in both cards and charts to modify the position of them on the dashboard.

card.setIndex(0); // Set your card index OR chart.setIndex(0); // Set your chart index

Indexing works in ascending format. The lowest card index will be placed in the front of the list and the highest index will be put in the end. It allows you to set the layout according to your wish.

Last updated on
Copyright © 2025 Softt. All rights reserved.