You can easily do this by calling a microflow,
just call a microflow which shows the pae where the datagrid is implimented,
in the microflow first retrieve all the data, and add a decision activity, if the data is found show the page,
and if the data is not found( the list is empty) show an error mssge, No list found.
This way you can easily achieve what you want to.
You can refer to the images below!
Hope it helps!
u can add the Settings for Datagrid 2 as Empty list message as custom.
below the grid2 u can find a place holder like footer where in u can add any message
There is no directly possibility as listview that we can show in a format of no data found if there are no records,
for achieving this you need to do in a format of creation of one boolean attribute firstly and you need to add a container with text no data found and the datagrid wants to be wrapped inside the container and based on conditional visbilty true or false you need to show case this datagrid or nodata found message.you need to manipulate the status of boolean attribute in a microflow based on entity count if count=0 message needs to be shown or if count greater than 0 datagrid needs to be shown.
hope you understand this.
Hope it helps.