Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh data providers don't refresh conditional appearences on tables #15503

Open
1 task done
Ttipi opened this issue Feb 7, 2025 · 1 comment
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@Ttipi
Copy link

Ttipi commented Feb 7, 2025

Checklist

  • I have searched budibase discussions and github issues to check if my issue already exists

Hosting

  • Self
    • Method: docker compose
    • Budibase Version: 3.4.1

Describe the bug
When I update table data, the conditional formatting of the cells does not update

To Reproduce
Steps to reproduce the behavior:

  1. In the design window, add Data provider component then, include a Datatable component in relation with your Data component
  2. In the datatable, configure conditional appearance based on cell values. Personally, I changed the background color of a line depending on the value of a field
  3. Create a side panel that opens when you click on a line. Insert a field allowing you to change the value of the cell responsible for conditional formatting, then insert a button allowing you to save the changes in the database then refresh the dataprovider, then close the side panel

Expected behavior
By testing the page, you will see that the value you change in the database does change in the table, but the conditional formatting does not update.

Screenshots
conditional table formatting :
Image

Inserting the value into the database, then refreshing the table dataprovider, then closing the side panel:
Image

In action before updating the field in line 2. Conditional formatting is good:
Image

After updating the database value, the field has been updated ("Type" field), but the color of the line has not changed
Image

Desktop (please complete the following information):

  • OS: Ubuntu 24.04
  • Browser Chrome
  • Version 132.0.6834.159 (Build officiel) (64 bits)
@Ttipi Ttipi added the bug Something isn't working label Feb 7, 2025
Copy link

linear bot commented Feb 7, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants