Hi PropTech,
Greetings from Syncfusion support.
Based on the shared details, we understand that you wish to
remove the panel holder element from the Dashboard Layout component.
We would like to note that while dragging a panel, a shadow
will appear beneath it to indicate where the panel can be placed upon dropping.
If one or more panels collide while dragging, the colliding panels will be
pushed towards the available adaptive space in the left, right, top, or bottom
direction. The position of these colliding panels will dynamically update
during panel dragging, giving users the option to choose where to place the
panel. This is the default behavior of the Dashboard Layout component.
However, you can achieve your desired outcome with CSS
selectors by overriding the corresponding item's styles. To meet your requirement,
we have set the display CSS property to none for the Dashboard
panel helper element.
Check out the below-mentioned code snippets for further
assistance.
[Index.razor]
<SfDashboardLayout
Columns="5" AllowResizing="true" ID="dashboard">
…
</SfDashboardLayout>
<style>
#dashboard
.e-holder {
display: none;
}
</style>
|
Please get back to us if you need any further assistance.
Regards,
Leo Lavanya Dhanaraj