Copy and pasting data in dash table experiment to excel

How can I highlight the data in a dash table experiment and copy it into excel with the same formatting?Right now I can’t copy and paste the column headers and when I try to copy and paste the rest of the data, each row goes into excel vertically below the previous row.

I worked on same problem today and found this topic

If you use python 3 you need to

Hope it help you)