20
Views
5
Comments
Solved
[OutSystems Data Grid] ClearFilter not working properly
data-grid-reactive
Reactive icon
Forge component by Gonçalo Martins
Application Type
Reactive
Service Studio Version
11.54.22 (Build 62709)

Hi, 

we have implemented the display of active filters as shown on the page https://outsystemsui.outsystems.com/OutSystemsDataGridSample/ShowActiveFilters, but we have noticed that the ClearFilter is not working properly. In fact, as you can see in the attached video, after applying a filter on Category and then on Product Name, and subsequently removing the filter on Category, in the filter of Product Name section doesn't remain deselected only for the "White in-ear pods" value that I deselected. Instead, all the Products that were hidden due to the Category filter remain deselected. Essentially, in this case, clearing the Category filter has no effect, and this behavior is not correct.


ClearFilter_error.mp4
Solution

Hi @Simone Placi',


After talking with the provider's support, we received the answer that this is not an actual issue. 

The Wijmo library is heavily based on Microsoft Excel functionalities and the issue you reported is actually a default behavior of Microsoft Excel filters.

Because of that, this will not be fixed by the provider or on our end.


Regards,

Giuliana.

Hi Simone,


From your video what I have understood is, that when you apply a "category filter" the "name filter"  automatically updates their records according to the selected categories.

Then you added a "name filter" where you checked select all(Which are already filtered according to the selected category).
But when you deleted the "category filter" it just removed the filter but you missed regenerating the name filter list.


In your logic you need to handle the select all functionality, if all other filters are deleted and select all is checked then it should check all the items from the list.



Please let me know if you have any queries.
Also if you can provide the OML it will give us more clarity.

Regards,


Hi Anubhav, 

i don't think i should apply custom logic but i think that the ClearFilter API should clear the Category filter and in the name filter only "White in-ear pods" should remain deselected.

I reproduced this behaviour in the Outsystems Datagrid Sample app in the page: https://outsystemsui.outsystems.com/OutSystemsDataGridSample/ShowActiveFilters.

 So you can download the app from Forge and check that OML.

Let me know if you need more infos,

Thank you,

Simone

In your video, it is clearly visible that when you remove the "category filter" your 
select all" in the "name filter" is deselected because it was recalculated and found few more records in the "name filter".
So, I think it is expected behavior.
But if you want any different behavior we can modify it, the current sample is just to display the component capabilities.

Thank you

Hi @Simone Placi' 


Thank you for reporting this issue!

We have added it to our backlog under the code ROU-4522, which you can use for reference in a future release.

We have identified this as an issue in the provider's library, so we cannot assure you when it will be fixed.

Unfortunately, we still don't have a workaround to provide.


Regards,

Giuliana. 

Solution

Hi @Simone Placi',


After talking with the provider's support, we received the answer that this is not an actual issue. 

The Wijmo library is heavily based on Microsoft Excel functionalities and the issue you reported is actually a default behavior of Microsoft Excel filters.

Because of that, this will not be fixed by the provider or on our end.


Regards,

Giuliana.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.