The Dashboard includes a Custom Toolbars collection to enable users to render their own content, and AdapTable will manage toolbar visibility as part of User State.
Each Custom Toolbar contains 2 'Divs', each to cater for a different use case:
(1) Pre-populate the Toolbar with Button definitions (as part of Dashboard State); when a button is clicked the ToolbarButtonClicked event is fired. Note that we have also styled the buttons individually.
(2) Render the Toolbar with any content that is required; listen to the ToolbarVisibilityChanged event and if the Toolbar has become visible, then render the content.