Hi Wout,
We have checked with your reported query.
We would like to mention that, when adding and removing the dashboard Panels through an external event, the panels position get placed only at the specified row and column.
And when displaying the panels in a horizontal way, the panels position gets maintained at the required row and column value. This is the default behaviour of Dashboard Layout component.
If you want to update the panels dynamically, please mention the row and column position as to where the panels must be placed when performing the required operations. You can also update or move the panels using
updatePanel and
movePanel methods based on your scenario.
Please check with the functionality of Dashboard with the previous sample.
Please check with the below links to know more about Dashboard Layout.
Please get back to us if you need further assistance.
Regards,
Sharon Sanchez S