Lalit,
You can use conditional visibility. Steps that could help:
You may have to relate your non persistent entity with your data in order to display the table properly.
Alternate options → depending on Mx version see if dynamic classes help.
ShowByCondition widget is another way. Do note that you’ll need to add a class as mentioned on the github documentation of the widget.
Good luck!
Regards,
Radhika