Dropdown in toolbar

Is it possible to mix the default toolbar in a treegrid with a dropbown?

I use the "add" "Delete" "Update" and so on, with the default functionallity, but need a drowdown for the add button, where the user can shoose to add a new element in the tree, on the same level og as a child. Otherwise it is not possible for the user to create new elements, and new child elements. 


Do I have to create all 4 buttons in a ToolbarItems or can the default button be used as a dropdown?



1 Reply

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team September 11, 2022 05:31 PM UTC

Hi Soren,


Query#:- Is it possible to mix the default toolbar in a treegrid with a dropdown? Do I have to create all 4 buttons in a ToolbarItems or can the default button be used as a dropdown?


Yes, we can place dropdown along with the default Toolbar. We have already discussed the same in the below documentation

https://blazor.syncfusion.com/documentation/treegrid/how-to/tool-bar-with-drop-down-list


For more reference:-

You can perform add operation by incorporating the ways into the Dropdown button

https://www.syncfusion.com/kb/12296/how-to-add-record-with-dynamic-newrowposition-using-context-menu

https://www.syncfusion.com/kb/12475/blazor-grid-render-custom-controls-along-with-default-toolbar-items


Please get back to us if you are facing any difficulties on this.


Regards,

Farveen sulthana T


Loader.
Up arrow icon