Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Dropdown button in v8.1


How to use dropdown button in v8.1


<div class="btn-group dropup">

<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Dropup
</button>
<div class="dropdown-menu" >
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>

this not working in v8.1


Text formatting options
Submit

Replies (2)


Hi,

If you are using Metronic v8.1.x then you should refer to Bootstrap 5.x Dropdown component docs here.

If you need Metronic's KTMenu docs please check it here.

Regards.



Hi,

I have metronic from themeforst. I tried to do the same using the Metronic's KTMenu docs, but its not working.

I have the global CSS and JS configured. The Bootstrap one is working, but I want this style from the export button used here: https://preview.keenthemes.com/metronic/demo1/crud/datatables/extensions/buttons.html

Can you please help me on a working example for metronics and point any CSS and JS required other than the global ones? Thanks


Text formatting options
Submit
Text formatting options
Submit