Pass variables to data grid from microflow on the same page

is it possible to send variables to a data grid on the same page using a microflow. looking to use variables/attributes in a xpath of data grid..  Also is it possible to add a microflow button on a data grid , will that make the variables out of microflow available for the data grid xpath query.
1 answers

In order to do something like this you should switch the datasource of the datagrid to microflow.

That way you can do whatever kind of processing you want. The end result should be a list of the entity which you want to show data for. If some new data was to be added, you should have an attribute in this entity to be able to show it in the grid.