Topic: Tabs - Refresh Panel Content
emailoversight priority asked 2 years 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 2 years 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/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- 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