poirazis / bb-component-SuperTable

A modular Table component for Budibase.
23 stars 8 forks source link

Super Table Freezes After Refresh Data Provider #62

Open rmarfil3 opened 6 months ago

rmarfil3 commented 6 months ago

Hi, I just installed these SuperTable plugins. Thank you for your amazing work!

I'm encountering an issue when trying to execute action "Refresh Data Provider" after, say, creating a new row or updating it. I'm using Side Panels for creating & updating entries, then added an additional action in the Save button to refresh the table after saving.

It succeeds saving, however, the table just gets stuck right after refetching the data. I cannot click on anything anymore.

Here's a console log, I'm not sure if it helps but the execution definitely stops here making the table crash. image image image

I was able to reproduce this issue on a new screen with very simple set up e.g. just using the defaults. I just added a "Row click" action in the Super Table, action is Refresh Data Provider. image I directly changed something in the database table (I'm using MySQL) and then clicked a row randomly to trigger the Refresh Data Provider.

Budibase: 2.23.5 Super Table: 2.0.20-alpha Super Table Cell: 2.0.6-alpha Super Table Column: 2.0.18-alpha

poirazis commented 6 months ago

Thank you @rmarfil3 for the elaborate report Will look into this ! As you see this is still a work in progress component ...

Temporaty fix is not to use a Data Provider and let the Suepr Table fetch its own data. You can also user "Refresh Data Provider" on a Super Table directly and it will refresh itself.