( InDesign 2020 version 220.127.116.11 on Windows 10 ).
The custom baseline grid is not working at all if a table's text frame is rotated.
It is working with text outside a table if the frame is rotated.
Thanks for reporting the issue.
This issue seems to be present from a long time. We are reviewing it