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.