Hey everyone!

With the holiday season upon us, we want to share our upcoming working hours:

After that, we’ll return to our regular schedule and assist you as quickly as possible.

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find tons of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel), which might just have the answers you need while we’re away.

Thanks a bunch for your understanding and support!

Warm regards and happy holidays!

TMS

Okay
  Public Ticket #3444220
Retriggering chart generation
Closed

Comments

  • Elvis started the conversation

    Hi!

    I have a list of custom post types, click on the title brings up modal window with WPDataTables charts inside the modal (using shortcode).

    List is generated as FacetWP listing with AJAX pagination.

    If I go on page two and click on a title, modal window opens, but charts are not there.

    Probably I need to re-trigger JavaScript for chart rendering because of the FacetWP AJAX?

    I went through your Developers docs but I didn't find anything I could use.
    Any help would be appreciated.

    Regards, Elvis

  •  1,847
    Miloš replied

    Hi Elvis,

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    This is a very interesting use case,

    it goes a above my current level of knowledge, 

     it seems you used a certain level of custom solution to achieve the FacetWP listing with AJAX pagination, as described.


    I think you are right, from your video it seems that the JS script might be modified in a way to re-trigger for the  FacetWP AJAX,

    but we will see if our developers will be able to advise.

    -

    We are limited when it comes to custom solution support,

    but i will see what we can do.


    Could you please show us more details on how you configured all of this,

    if you can show some screenshots and a Video to show the setup,

    and if we can also remotely see the Page, please send me the URL.

    -

    If you can also send us back-end access to inspect the WP setup.

    Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties. 

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.


    Thank you.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Elvis replied

    Thanks Miloš for your answer!

    I know this is a specific situation, I thought maybe your developers would know in which direction to look regarding JavaScript charts code. Since I'm using Highcharts, I looked in the documentation on their site, but examples there are quite different.

    I'm working on localhost on my computer so I can't share website with you.

    I'm using WP_Query loop inside FacetWP listing to get the list of custom post types with ACF text fields, which have WPDatatables charts shortcodes inside them.

    I get list of custom post types, link on them calls modal popup, where charts are shown.
    I'm using modal from UIKit frontend framework.

    I could use FacetWP refresh event:  to re-trigger charts generation, but I need some help with the code that would do this, something like this (just an example that I made up):

    wpDataChartsCallbacks[39] = function(obj){
        obj.redraw();
    }

    Regards

  •  1,847
    Miloš replied

    Hi Elvis,

    My apologies once again that it is taking so long.

    Thank you for describing your use case , and how you set everything up.

    I am truly sorry to disappoint you, 

    we did our best to search through all our available working examples,

    and unfortunately, we don't have any example to show you for something similar to this specific use-case.

    We also don't have any built-in solution to achieve this at this time, but you can suggest it to our developers - they will do their best to make a solution in the future.

    Please feel free to search on our suggestions page

     to see if someone may be already suggested this feature. If you can't see it, feel free to add your suggestion there,  and as more people vote, the feature will move higher on the priority list.

    You can certainly follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;

    and our newsletter, so you're informed about new features, bug fixes, freebies, etc.

    If you have coding skills and wish to try to make a custom solution now,

    you can check out our available hooks for Developers on this documentation and see if you can find any hook that might help.

    Please be advised that custom solutions with hooks are not included in our support.

    You can also research resources such as Stack Overflow to see if any other user perhaps found a workaround.

    Maybe this can be done with some custom work, but our developers are very busy at the moment, working on some priority tasks and fixing bugs and issues with our plugins, so they won't be having the time for custom work in the near future.

    ( We do like to give examples for certain solutions, but for this use-case, we, unfortunately, don't have anything yet)


    That being said, i will still do my best to keep checking with the developers,

    and if they notify me that they found at least some advice to point you in the right direction to try to redraw the chart as intended for your modal,

    we will make sure to report back and advise you right away.

    They will also work to add more custom examples and more hooks to our Developer section Documentation.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables