Use popconfirm with dyamically loaded elements


Topic: Use popconfirm with dyamically loaded elements

robin_reichenbach pro premium priority asked 2 years ago

Is it possible to use popconfirm for dinamically loaded elements for ex.: rows in table? Right now, popconfirm is not clickable.


kpienkowska staff answered 2 years ago

It is possible but you have to initialize popover with JS after it is added.

Example here: https://mdbootstrap.com/snippets/standard/kpienkowska/5385151


robin_reichenbach pro premium priority answered 2 years ago

How can I do that using Jquery? Dynamic element is created after a jquery call


kpienkowska staff commented 2 years ago

You can do the same thing using jQuery syntax or mix JS with jQuery.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.4.0
  • Device: PC
  • Browser: Mozilla Firefox 102.12.0esr
  • OS: Linux Debian
  • Provided sample code: No
  • Provided link: No
Tags