table
table copied to clipboard
WithHeaderFormatter : Not working
When formatting is applied to header & first column, it is not working

Hello @ramyaDhanush, hope your issue is resolved since.
Maybe I'm wrong, but I think you're on Windows 10 (and by extention, on Powershell). Powershell ANSI escape support is not enabled by default. You need to enter in Admin Mode and type :
Set-ItemProperty HKCU:\Console VirtualTerminalLevel -Type DWORD 1 (see here)
It worked for me for both Powershell version.
On Linux (PopOS!), I had no problem on displaying the table.
Regards,
QrowPlissken