17
Views
4
Comments
Solved
[OutSystems Data Grid] Problem with FilterByCondition action in GRID
data-grid-reactive
Reactive icon
Forge component by Gonçalo Martins
Application Type
Reactive

When I use the FilterByCondition action for OutSystemsDataGrid, the filter works. Only problem is the second filter does not show correctly in the filter popup. So for example in the image below I had chosen the options "AND", "Does not equal" and "2". As you can see it shows "Does not equal", but it doesn't select "AND" and it shows "0" instead of "2". The filter was applied to the results of the grid though. Can you help me to also have the popup show the right value?

Solution

Hi @Aart van Blitterswijk,


It seems to be working as expected on my side (saving filter > clear > apply saved filter). 


Are you using the latest version of DataGrid (2.12.1)? We had some fixed there for FilterByCondition, that could have impacted this.


Bernardo

Sorry about that. Should have been the first thing for me to try.

Hi @Aart van Blitterswijk,


Can you share an oml with that issue? 


Best regards,

Bernardo Cardoso

Hi Bernardo, 

See attached OML. If you filter on for example id > 2 and id < 6. You can then save the filters with "Save Current filters". Then you refresh the page and click "Filter saved filters". Then you see it does filter, but it doesn't correctly display the second filter in condition filter.

SandboxAart2509.oml
Solution

Hi @Aart van Blitterswijk,


It seems to be working as expected on my side (saving filter > clear > apply saved filter). 


Are you using the latest version of DataGrid (2.12.1)? We had some fixed there for FilterByCondition, that could have impacted this.


Bernardo

Sorry about that. Should have been the first thing for me to try.

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