How add popupmenu in right side of header

I would like to add popupmenu in right side of header.I have some clarification on icon css .please check my below comments and advise how to do this.

https://www.screencast.com/t/ZNLmryuoc


1 Reply

AS Aravinthan Seetharaman Syncfusion Team August 20, 2021 01:37 PM UTC

 
Thanks for contacting Syncfusion Support. 
 
We have checked your query. 
 
Query: Regarding popup positioning 
 
Ans: We have checked this query. We can achieve this requirement by overriding css style for Dropdown popup. Please refer the below code snippet. 
 
 
@using Syncfusion.Blazor.SplitButtons 
 
<SfDropDownButton CssClass="e-caret-hide custom" Content="Syncfusion DropDown Menu"> 
    <DropDownMenuItems> 
        <DropDownMenuItem Text="Edit"></DropDownMenuItem> 
        <DropDownMenuItem Text="Delete"></DropDownMenuItem> 
        <DropDownMenuItem Text="Mark as Read"></DropDownMenuItem> 
        <DropDownMenuItem Text="Like Message"></DropDownMenuItem> 
    </DropDownMenuItems> 
</SfDropDownButton> 
 
<style> 
    .custom.e-dropdown-popup { 
        left: 348px !important; 
        top: 52px !important; 
    } 
</style> 
 
 
For more details, please refer below UG links 
 
 
 
Query: Regarding hide Down caret icon 
 
Ans: We can achieve this requirement by adding “e-caret-hide” class to CssClass property of DropDownMenu. Please refer the below code snippet and sample. 
 
 
<SfDropDownButton CssClass="e-caret-hide custom" Content="Syncfusion DropDown Menu"> 
    <DropDownMenuItems> 
        <DropDownMenuItem Text="Edit"></DropDownMenuItem> 
        <DropDownMenuItem Text="Delete"></DropDownMenuItem> 
        <DropDownMenuItem Text="Mark as Read"></DropDownMenuItem> 
        <DropDownMenuItem Text="Like Message"></DropDownMenuItem> 
    </DropDownMenuItems> 
</SfDropDownButton> 
 
 
 
For more details please refer the below UG link. 
 
 
Could you please check the above details, and get back to us, if you need assistance on this. 
 
Regards, 
Aravinthan S 


Loader.
Up arrow icon