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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Maintain the cellAspectRatio while resizing and Add new Panel to the first available position.

Thread ID:

Created:

Updated:

Platform:

Replies:

149510 Nov 28,2019 09:05 AM UTC Nov 29,2019 10:48 AM UTC Angular - EJ 2 1
loading
Tags: DashboardLayout
Sagar
Asked On November 28, 2019 09:05 AM UTC

I have few questions about the feature available in this component.
  1. Is it possible to maintain the cellAspectRatio while resizing the Panel?
  2. Is it possible to add the new Panel to first available position where the new panel can fit in left to right fashion?
Thanks.

Keerthana Rajendran [Syncfusion]
Replied On November 29, 2019 10:48 AM UTC

Hi Sagar, 
 
Greetings from Syncfusion support.  
Query1 – cellAspectRatio is maintained during resizing. 
We would like to let you know that the Dashboard Layout is a grid structured component which can be split into columns of equal size known as cells .The, width of each cell is calculated based on the total number of columns in a row and height of these cells can be configured using the cellAspectRatio property (cellwidth/cellheight ratio) which defines the cell width to height ratio. Whereas resizing a panel just allows you to resize the panels to occupy these cells and is completely different from cellApsectRatio property of the component. So, there is no possibilities to resize the panels based on cellAspectRatio property.  
If this is not your requirement or if we misunderstand your requirement, can you please share your exact requirement. It will helpful for us to resolve your issue at earlier.  
Query 2 – Add panel from left to right. 
When you add the dashboard layout panel in first position, and if the very next column in that row is empty and is adaptable for the already available panels, the panel will move in left to right fashion. If  this column is occupied, then the panel will get pushed in the downward direction and the newly added panel get placed from top to bottom fashion, it is the default behavior of dashboard layout. 
 
 
Please let us know, if you have any concerns. 
 
 
Regards, 
Keerthana.  


CONFIRMATION

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