Need help,how to trigger 'Data Provider' update after Table Row edit #14600
-
Discussed in #14584 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
BUDI-8656 Need help,how to trigger 'Data Provider' update after Table Row edit |
Beta Was this translation helpful? Give feedback.
-
Hey @yoyogis I've migrated this to a Help Discussion instead of a bug report. As for your issue; inline editing wont trigger a refresh of the data as you're hoping. Instead, you should have an on-row-click action to open a modal or side panel that updates the row using a form. Add a "refresh data provider" action to the save button in the form, triggering a refresh of the Data Provider that the Pie Chart is getting it's data from. If you're using a Chart Block you may need to eject the block to point it at a different data provider. |
Beta Was this translation helpful? Give feedback.
Hey @yoyogis I've migrated this to a Help Discussion instead of a bug report.
As for your issue; inline editing wont trigger a refresh of the data as you're hoping. Instead, you should have an on-row-click action to open a modal or side panel that updates the row using a form. Add a "refresh data provider" action to the save button in the form, triggering a refresh of the Data Provider that the Pie Chart is getting it's data from.
If you're using a Chart Block you may need to eject the block to point it at a different data provider.
https://docs.budibase.com/docs/what-is-budibase