Services Plugins FAQs

dataTables Refresh Issues

Hi

I am trying to refresh a dataTable given a new search constraint. In my simple example I have a dropdown that represents “month & year” and the desired outcome is to see the first day of the month on the element table.

I’ve carefully looked through the plugin docs as well as the demo. The first thing the docs said was that a table must be added when page is loading.

image

Once page is loaded, the table comes up perfectly.

Approach 1
Now I would like to change the dropdown to April, the desired outcome is to see April 1 being the first day of that month. I chose April and hit refresh.

The desired April 1 can be seen in the debug.

image

However the element table does not update to April 1, remains as June 1.

If you download to CSV , the CSV will show June 1 which was the initial constraint used on page load.


Approach 2
I’ve been testing various scenarios, I added another “Add Table 1” followed by a “Refresh Table 1”.

image

Indeed, again, April comes up in the debug. The difference though with the second approach is that if you download as csv, the desired change “April / second month” will come on the CSV while the element table itself doesn’t update, as seen below.

There seems to be a disconnect between the element table and the backend download as csv system.

When using inspector on the element, with both approaches the following error comes up when inspecting the Table
image


I’ve very carefully inspected the Docs sheet and can report back the following.

When refreshing, I used exactly the same row names / Database search (but different constraint?) as in the add table event. The refresh table you used on the Docs, doesn’t have the join with “,” part, so naturally I including it and excluding it to see if there would be a difference. No change. Screenshot of your docs without " join with “,” " seen below

image

This is a really neat tool that would help me alot, its the closest tool available to a Pivot Table. Would really appreciate any possible help to get it working!!

Thank You

Hi, @allonp!

Thanks for reaching out!

We’ll check on this matter and get back to you asap. It might take some time, so please be awarned.

Thanks for understanding! :pray:
Best, Julia.

1 Like

Thank you Julia

I confirm that the 2.14.0 - Fixed Refresh action update resolved this issue. Really appreciate the speedy resolution. Thank you Zeroqode.

Hi, @allonp!

So glad to hear that it helped! :slightly_smiling_face:

If you like our plugin you can rate it by going to Plugins tab in Bubble editor. Find the plugin by name and it give it as many stars as it deserves. :slight_smile:

The more feedback we get, the more motivated we are to make things better in Bubble. :slight_smile:

Also if you have any questions, please, let us know!
Best, Julia.