( InDesign 2020 version 188.8.131.52 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