Hide the indicator icon

In a TreeView, when I drag and drop, can I hide the indicator icon?

Image_4634_1705058826337

Second question: if the TreeView is inside a DashboardLayoutPanel, how do I make the height of the TreeView adjust to the height of the containing control?


3 Replies

JA Jafar Ali Shahulhameed Syncfusion Team January 15, 2024 11:58 AM UTC

Hi,


Query 1: TreeView Drag and Drop:


By the shared details we can understand that you are trying to drag and drop the nodes of the TreeView without having drag item element. We have achieved your requirement by making the visibility of the .e-drag-item class element to hidden,


.e-drag-item {

    visibility: hidden !important;

}


Query 2: Placing TreeView in Layout:


We have made changes to place the TreeView component into the Dashboard Layout component and added the below styles to achieve your requirement.


.root-container {

    height: 100%;

    overflow-y: scroll;

}


Please checkout the shared sample and get back to us If you need further assistance.


Regards,

Jafar


Attachment: BlazorTreeView1_47a6a815.zip


GL Gerardo Lopez Ruiz January 15, 2024 02:54 PM UTC

Thank you very much for the information



SS Shereen Shajahan Syncfusion Team January 17, 2024 05:31 AM UTC

Hi Gerardo,

Thank you for the update. Please get back to us for assistance in the future.

Regards,

Shereen


Loader.
Up arrow icon