Open gbritoda opened 2 months ago
Thank you for writing the issue! We discussed it with @FredLL-Avaiga and shown it the issue first hand some time ago
This issue has been labelled as "🥶Waiting for contributor" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines.
This issue has been unassigned automatically because it has been marked as "🥶Waiting for contributor" for more than 14 days with no activity.
I can't replicate the issue ? Can you @FlorianJacta ?
I was, and from my memory, we had to force it to happen. I will try again. You can't replicate it on develop?
I can replicate it with develop. Just change the filters really quick
What went wrong? 🤔
Raised in Discord first: https://discord.com/channels/1125797687476887563/1242498359093100667
I have a table that contains a bunch of different information, some of the rows have different "categories" though, and I want to be able to filter through these categories.
I did that through a selector on the side (not a dropdown one). The default category selected is "All", to show all, when a category is selected it changes a variable called selected_category, then on a callback called by the on_change of the selector will modify the contents of the table to only show the rows belonging to that category, followed by a state.refresh(table), because the table is part of another python object.
However that doesn't always work, in fact I can consistently get into a state where the table does not refresh, but if I refresh the page the changes are made. From the logs and from this it seems the table indeed does change but the change is not reflected visually. The table does have the rebuild property turned on.
Recorded a gif of an example code. Although it took a while for me to actually reproduce it because I made a much "lighter" version. You can see in the beginning of the gif that I was stuck, I refreshed and kept clicking multiple times until I managed to get it again. With this example was quite difficult but with my actual application (which is big) is a bit easy to get to that state
There might be a few quirks (e.g. taipy_thread) that you might find it unecessary. It's just something I made back in 2.4 and unsure if it still needed
This is the code used in the above Gif:
Expected Behavior
When clicking the buttons to change the table category, the table contents should update accordingly and not freeze
Steps to Reproduce Issue
Run the code snippet in the description, click the category buttons multiple times until the table freezes.
Solution Proposed
No response
Screenshots
No response
Runtime Environment
No response
Browsers
Chrome, Firefox
OS
Linux
Version of Taipy
3.0.0
Additional Context
No response
Code of Conduct