This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 2 years, 6 months ago.

Dashboard Split inside 2 tabs


  • gioska
    Participant

    Posts: 1
    Member Reply #3770

    3¬†question ūüôā

    1)
    I have split the objects of the dashboard inside two Tabs.
    The problem is that! Inside the first tab i have the calendar the general stats, server stats and feeds and all work.
    Inside¬†the second tab i have regional stats but it doesn’t work correctly, all button work but the map is hidden.

    2)
    I use the Jqvmap plugin on the dashbord, but how can i add my custom map of another country?
    I have read the documentation of the plugin but i don’t understand this.

    3)
    I need customizer the calendar object, how and where i can do this, i have read the documentation.
    I have see your index.js file but this only for demo.

    You can Help me Please?

    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4444
    Support Staff Reply #3782

    Hi,

    1) Please note that those plugins can not initialized when the container element is hidden. As a workaround you will need to initialize them once on second tab shown. For this you can use bootstrap tab API http://getbootstrap.com/javascript/#tabs-events and conditionally initialize those plugins in the second hidden tab when it will be activated for first time.

    2) As this is a 3rd party plugin we are not able to give more info beyond the official documentation. if you refer to the documentation here https://github.com/manifestinteractive/jqvmap “Custom Maps” section you can see there is a reference link to follow to create your custom map. I hope upon reading the doc more carefully you will be able to settle it.

    3) In index.js we included one demo calendar placed in portlet. For any advanced usage of the plugin please refer to the documentation: fullcalendar.io. You can create a new custom JS script and put your calendar related JS code there.

    If you need any further clarifications please let us know.

    Thanks.

Tagged: 

You must be logged in to reply to this topic.