I've started using the dashboard plugin which is demoed here - http://www.gxdeveloperweb.com/dashboardplugin/demo/dashboard.html
I'm struggling with the documentation. Primarily on how to save dashboard configurations altered by the enduser.
In the documentation, it tells you how to do a "dashboardStateChange":
But I don't really understand where this is to go within the dashboard setup, and how you use this to save the changes. I thought I could could access dashboardStateChange from within the DOM when something happens, but even failing to understand how this is done.
Has anyone got any tips on saving the dashboard whenever its state has changed? I would like it to talk to a php script which saves the dashboard setup.
Unfortunately there aren't any great tutorials on this sort of functionality.