We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Removing panels from a dashboard layout leaves empty rows

Thread ID:





149325 Nov 21,2019 06:17 PM UTC Nov 25,2019 09:05 AM UTC ASP.NET MVC - EJ 2 3
Tags: DashboardLayout
Juan Jiminez
Asked On November 21, 2019 06:17 PM UTC

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) {

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).


Attachment: Layout_screenshots_1b693ea1.zip

Keerthana Rajendran [Syncfusion]
Replied On November 22, 2019 11:59 AM UTC

Hi Juan, 
Good day to you, 
We have checked your reported query “panel is not floating when remove the panel”. But unfortunately, the issue is not reproduced in our end. For your reference we have prepared a simple sample. In that sample, we have rendered a single dashboard with multiple panels based on your shared screenshot and also performed add and remove panel operations in that which works fine. 
Refer the sample link below. 
Note: Ensure whether allowFloating is set as “false” in your sample.  
If the issue persists, can you please share the additional details regarding your requirement, it will helpful for us to resolve your issue at earlier. 
1.      Code snippet for panel declaration. 
2.      Reproduce the issue in attached sample (if possible) 

Juan Jiminez
Replied On November 23, 2019 12:34 AM UTC

Hi Keerthana,

I can still reproduce this bug with the latest patch (v.17.3.28) when I remove all the panels from the last row. Nonetheless I was able to get around it by calling the dashboard refresh() method after removing the panel.


Keerthana Rajendran [Syncfusion]
Replied On November 25, 2019 09:05 AM UTC

Hi Juan, 
We have created a support incident under your Direct-trac account for the last query. Please follow up with that incident for further details. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon