We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow user to copy selected rows into the clipboard and able to paste it on Excel.
You can follow the "Copy as JSON" implementation
https://github.com/invisal/query-master/blob/main/src/renderer/screens/DatabaseScreen/QueryResultViewer/useDataTableContextMenu.tsx#L71
I think it is possible to do it as this answer: https://stackoverflow.com/questions/60698115/how-to-copy-a-javascript-2d-array-to-clipboard-to-paste-it-in-excel
You can use getDisplayableFromDatabaseRows to stringify to make result string-friendly https://github.com/invisal/query-master/blob/main/src/libs/TransformResult.ts#L84
getDisplayableFromDatabaseRows
The text was updated successfully, but these errors were encountered:
feat: add "Copy selected rows as Excel" #125 (#140)
f34696a
Resolves #125 Co-authored-by: Alperen Dagli <80391142+dglalperen@users.noreply.github.com> Co-authored-by: kaan9700 <81586446+kaan9700@users.noreply.github.com>
Successfully merging a pull request may close this issue.
Allow user to copy selected rows into the clipboard and able to paste it on Excel.
How to implement this
You can follow the "Copy as JSON" implementation
https://github.com/invisal/query-master/blob/main/src/renderer/screens/DatabaseScreen/QueryResultViewer/useDataTableContextMenu.tsx#L71
I think it is possible to do it as this answer:
https://stackoverflow.com/questions/60698115/how-to-copy-a-javascript-2d-array-to-clipboard-to-paste-it-in-excel
You can use
getDisplayableFromDatabaseRows
to stringify to make result string-friendlyhttps://github.com/invisal/query-master/blob/main/src/libs/TransformResult.ts#L84
The text was updated successfully, but these errors were encountered: