Key takeaways
- Gridster.js is a JavaScript library that facilitates drag and drop and resizing of HTML elements.
- The library enhances business intelligence self-service modules by allowing users to customise visual layouts.
- Integrating Gridster.js with D3.js can create an interactive dashboard with flexible visual arrangements.
- The implementation involves incorporating Gridster libraries and adjusting existing HTML structures for seamless functionality.
As part of my continued interactions with the open source stack, I came across a very nice library: Gridster.js. Gridster is a really cool and awesome JavaScript library that enables drag and drop as well as re-sizing features for your html placeholders (div’s).
One aspect of BI self-service modules is the flexibility for the user to define his own story line and the order in which the user wants to see the visuals. That got me thinking if gridster can help us out there.
We will be trying to build a drag and drop dashboard which allows user to rearrange the elements dynamically.
We will be taking the analytics dashboard that we built using D3.JS, DC.JS, Node JS and MongoDB and apply Gridster.js to it resulting in a dashboard in which we can rearrange the visuals on a grid without losing the interactive features like drill-down and filtering.
Our AIM: Implement Gridster.js library in our interactive dashboard to enable rearrangement and re-sizing of visuals.
Steps to Success:
- Get your hands on the working dashboard.
- Insert the Gridster libraries into your html page.
- Enclose your div’s within Gridster list tags.
- Run your app and see if the functionality works.
Spotted an error? Tell our editors. Read our editorial standards and corrections.
Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign





