I think your datagrid has a datasource microflow. You can control the visibility of the datagrid by means of attribute present in the entity connected to the dataview.
You could have a datasource microflow for a DataView that has a DataGrid inside. The visibility of the DataGrid can be controlled by an attribute on an entity, and linked to this entity have the entities for the DataGrid.
Hope that makes sense.