suddjian commented on issue #9080: Superset clipboard contents should paste 
nicely in Excel
URL: 
https://github.com/apache/incubator-superset/issues/9080#issuecomment-582032412
 
 
   This seems like a good idea to me. I should note that you can save query 
results as a CSV, which can be opened in Excel. But that's not very convenient 
if you just want to quickly copy/paste a portion of the results.
   
   Right now results are rendered as `<div>`s. I'm not very familiar with how 
copy-pasting formatted data works, but I would think using proper HTML 
`<table>` tags would do the trick.
   
   Changing to `<table>` is a bit tricky though, as we're using 
[react-virtualized](https://github.com/bvaughn/react-virtualized) to render the 
table for performance. It looks like the `Grid` component is being used for 
this, but I'm not sure if there is a `react-virtualized` component that allows 
rendering to a `<table>`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to