Hello Jeff,
Microflow based datagrid1 doesn't provide search feature, you can try with other widgets , for sorting in MF you can use sort list operation.
Hi Jeff,
For sorting -> Open your DataSource microflow -> Double click on your retrieve entity at the left-bottom you can see the sorting -> click there & sort accordingly.
For Searching-> You can make your custom filters
Hi Jeff,
Sorting logic you can write inside the microflow and return the list.
But if you want to have a column wise sorting and searching, need to implement with custom code. it can not be done with in built data grid1 features.
We have implemented the same for one of the usecases with a Xpath module. and wrote custom microflows for sorting and searching.
Below is the link for Xpath module you can have a look
https://marketplace.mendix.com/link/component/120424
Hi Jeff, When a Data Grid uses a microflow as its data source, Mendix disables built-in search and sorting. To add these features:
Add input parameters to your microflow for search keywords and sorting options.
Implement filtering and sorting logic inside the microflow using XPath constraints and the microflow’s sort action.
Add UI controls (e.g., search box, sorting dropdown) on the page bound to these parameters.
Reload the microflow and refresh the Data Grid when users change search or sorting inputs.
This way, you manually handle search and sorting while keeping the Data Grid powered by your microflow.
Easier Alternative (Recommended):
1. Column Filters (Text Filters, Dropdown Filters, etc.):WORK even when using a microflow as the data source.
2. Data Grid 2 allows per-column filtering via its built-in column filters, and these are available even with microflow data sources.