How to filter/refresh data ( in data grid ) based on the Selection of Boolean out side data grid !

0
Hello, I have a requirement where I need to filter a data grid based on the value of a boolean. Specifically: When the boolean is set to true, the data grid should display records based on one condition. When the boolean is set to false, the data grid should display records based on another condition. So, whenever the boolean value changes above the data grid, the data grid should refresh with the updated results.   Could someone please help me implement this functionality in my Mendix project? Thank you in advance.
asked
1 answers
1

Hi Sunkara,

    1)  You need to call a onchange microflow in the Checkbox and refresh a GoldenRecordFilterHelper.

    2) Then use a Microflow as datasource for datagrid, In that microflow pass the GoldenRecordFilterHelper object and Retrieve the list which you want to display in Datagrid and perform the neccessory filter based on the boolean value and return the filtered list.

answered