You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an example coming from a real life use case from a customer about filtering a table.
The behavior is as followed (very similar to the Excel behavior for filters):
I have two multiple filters filtering my table,
Their default value is "All",
If "All" is selected then the table is not filtered based on this filter,
If another value is selected then the table is filtered based on this value AND "All" is removed automatically from the list of selected values,
The list of values (lov) of the other filters are changed according to it (if you filter on "Paris" then the lov of "facility_type" is ["All", "Small", "Medium"] because Paris only has "Small" and "Medium" facilities and not "Large" facilities.
If they are no selected values then the selected_value becomes ["All"]
Solution Proposed
Here is the code created for this demo. The goal is to simplify this code and make this behavior or part of it inside Taipy directly.
In terms of UX, I would use something like GitHub. Instead of having a specific "All" entry acting like an exception and potentially conflicting with an actual "All" value, I would add an icon/button to remove all filters.
Just like the following screenshot:
I agree; the "All" value is here because I have to create a workaround. The firsr client wanted a behavior similar to Excel. I don't think we have to copy exactly what Excel has done because their drop-down selectors changes depending on the table and the filters
Description
I have an example coming from a real life use case from a customer about filtering a table.
The behavior is as followed (very similar to the Excel behavior for filters):
Solution Proposed
Here is the code created for this demo. The goal is to simplify this code and make this behavior or part of it inside Taipy directly.
Acceptance Criteria
Code of Conduct
The text was updated successfully, but these errors were encountered: