Hi Syncfusion,
I'm using the sample code on https://ej2.syncfusion.com/aspnetmvc/DashboardLayout/DefaultFunctionalities#/material to remove panels from a dashboard layout.
if (event.target.offsetParent) {
dashboardObject.removePanel(event.target.offsetParent.id);
}
It does remove the panels but it leaves empty rows where the panel used to be (see Layout 2.png and Layout 3.png on the attached screenshots).
This is not only visually incorrect but it also causes issues like adding new panels after empty rows (see Layout 4.png) and some JS errors when I persist the row / column positions on my Database and try to restore them again (see Layout 5.png).
-Juan
Attachment:
Layout_screenshots_1b693ea1.zip