Questions tagged [metismenu]

17 questions
4
votes
2 answers

Reset MetisMenu after loading data asynchronously

I am using MetisMenu with a dynamic
. When I load a new submenu under this
, the plugin stops functioning. Is there any way to reset the plugin in the success part of my AJAX call? I've tried: $('#menu').metisMenu({ toggle: false //…
woshitom
  • 4,811
  • 8
  • 38
  • 62
2
votes
1 answer

using metismenu in angular 8 the second level nav does not open in mobile size screen

I am a novice at angular and trying to convert a website (admin theme) into angular using Jquery and metismenu (I understand many people do not want to use Jquery but as I am trying to migrate the website I do not wish to modify lots of…
Julio Perez
  • 49
  • 2
  • 7
1
vote
0 answers

Webpacker load error (Uncaught TypeError: $(...).metisMenu is not a function)

Trying to get a (what should be) simple module to work: metisMenu However, unfortunately I'm failing in doing so, apparently something in my Webpacker setup because when loading my page I get the error: Uncaught TypeError: $(...).metisMenu is not a…
HJW
  • 342
  • 3
  • 13
1
vote
1 answer

Using multiple react metis menu, allowing only one active item

I'm using the React Metis Menu in one of project. One of the requirement was to have the menu formatted in such a manner where: *Dashboard* - Item A - Sub Item A - Sub Item B - Item B - Sub Item C *Analytics* - Item C - Sub…
toffee.beanns
  • 435
  • 9
  • 17
1
vote
0 answers

How to collapse a menu in metismenu react js while active link is set as another link?

The structure of my menu is as follows : The default page is Home. And on clicking any menu even sub-menu that particular menu option should be highlighted. This I am able to achieve by { this.menu = r; }} …
Manasvini Ganesh
  • 483
  • 5
  • 16
1
vote
0 answers

Make working properly metisMenu in vue app

I want to use SB Admin 2 template from https://github.com/dpwilhelmsen/sb-admin-2-bootstrap-4 In my Laravel 5.7 / Vuejs 2.6 / Vuex 3.1/ Bootstrap 4.3 app and I take some steps for it : As it is based in metismenu In console I run next commands…
mstdmstd
  • 2,195
  • 17
  • 63
  • 140
1
vote
1 answer

How to fix metisMenu

I've developed Menu for my dashboard where I use metisMenu for my elements. The menu is getting displayed, but when i click button of menu for diplay submenu, the SubMenu is not displayed ! How to fix this problem and thank's. file .html:
adam
  • 11
  • 5
1
vote
0 answers

__WEBPACK_IMPORTED_MODULE_0_jquery___default(...)(...).metisMenu error

I already tried multiple things as deleting node_modules folder, installing everything with npm and with yarn. I added the dependency to the package.json These are my dependencies: { "private": true, "scripts": { "dev": "npm run development", …
Anwar El Bo
  • 145
  • 1
  • 10
0
votes
2 answers

execute function before another one in angular and remove settimeout

I'm using angular 13, and i have to load a menu dynamically from Database so i have a function doing that name's loadMenu() , and i have to put the sidebare (where i have to put the menu loaded) in MetisMenu, but the problem is MetisMenu didn't…
dija
  • 11
  • 3
0
votes
0 answers

The sidebar is a not displaying in dashboard. I'm using bootstrap v4.6 with JQuery v1.10.2, Its working fine in all the Browsers except IE 11

Dashboard onclick="navigate('${MAINMODULE['MODULENAME']}','${MAINMODULE['MODULECODE']}','${MAINMODULE['MODULEURL']}','${MAINMODULE['ISMULTIPLE']}')" > ${MAINMODULE['MODULENAME']} …
0
votes
0 answers

Cant get packages to work with yarn + webpacker + Ruby on Rails 6

I am trying to make Metismenu and Bootstrap-select work on Rails 6. I installed them both through yarn. They both show up in package.json Placed in application.js require('bootstrap'); require('bootstrap-select'); require('metismenu'); Enable them…
0
votes
1 answer

WebPacker not loading module (metisMenu)

I'm facing an issue with loading the plugin metisMenu in Webpacker/Rails 6 I keep getting the error: Uncaught TypeError: $(...).metisMenu is not a function These are the contents from…
HJW
  • 342
  • 3
  • 13
0
votes
0 answers

Dynamic Menu loading data from BE using Angular 8 & Metismenu

I´m trying to migrate a project that is using Thymeleaf to Angular 8. The menu is implemented using MetisMenu loading it´s data from BE (rest api). The problem The issue is that the menu becomes unresponsive after a reload of the page or any…
Emiliano Schiano
  • 1,862
  • 1
  • 25
  • 30
0
votes
1 answer

How to use other plugin in vue js

metisMenu is a jQuery menu plugin I know it can work by jQuery code, but how to let it work when router is changed in vue js?
user2628802
0
votes
1 answer

How to use FetchAPI nested Arrays of same object

I am trying to show menu where it can have parent child relationship, with flat structure it is working fine but with nested objects not able to do it. The below is the JSON and reactJS code. JSON - { "data": [ { "to": "#a-link", …
kapil gupta
  • 335
  • 3
  • 19
1
2