Customised table viewer extension

How to do rounded corner with shadows like below image
Note: In below image shadows around tale is not displayed, but I want shadows also to display the table as card
image