Or search in text filter

0
Hi there,   I'm using text filter in datagrid2. Is it possible to perform "or" search by inputting multiple words in one filter? Or is there any alternative?   Thanks in advance.   Kazuki Abe
asked
2 answers
2

Hi Kazuki,

Like this u need to achieve ?

image.png

 

You need place the Data grid 2 inside the data view.  In that data view add text box for search. In that text box add microflow in Onchange Event

 image.png 

 

image.png

using change object refresh the object.

 Next you need to call DS microflow in Data grid 2.  add the below logic in your flow  to achieve.

image.png

answered
1

Hey Kazuki,

As far as I know for DG2 it's not possible I create idea for that case

https://community.mendix.com/link/space/widgets/ideas/4417

But it's is possible if you create everything custom with microflow as data source and concat string that you using as search e.g. I add separator to be ';' and in datasoruce microflow i use split string java action to create list of all possible input value1;value2 and  before loop you create empty list of object that will show on screen, inside loop add activity where you retrieve list of object that you find for current iteration and add it to list that you wanna display on screen.

answered