Tabs - Refresh Panel Content


Topic: Tabs - Refresh Panel Content

emailoversight pro premium priority asked 4 months ago

MY TAB I have 6 different tabs and 1 of them is "Preview". ... Preview ...

* MY CONTENT And this is the preview content.

...

So when I am in a different tab, this code will send me to the PreviewTab. const tabPreviewTrigger = document.querySelector('#tabPreview'); mdb.Tab.getInstance(tabPreviewTrigger).show(); IT'S PERFECT

However , changes on other tabs content will reflect the Preview content. I need the Preview Content being refreshed after the tab is sent to Preview tab.

How can I do that ? Thx


Michał Duszak staff answered 4 months ago

Hello, what kind of changes in other tabs do you perform? Are you changing the data source and you want your code to act reactive? Are you changing HTML of a tab's content? Could you reproduce this issue in snippets? https://mdbootstrap.com/snippets/


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 3.9.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No
Tags