You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a requirement to allow users copy data from tables to clipboard. Currently we have to do it in a custom way, but it would be great if we could use the exportCSV functionality and just get the data as a string/callback instead of saving it automatically to a file. Would it be possible to implement this?
I think the only thing needed would be to add a callback into DataTableExportCSVOptions and in DataTable.vue's exportCSV function call that instead of DomHandler.exportCSV if it's set?
Type: EnhancementIssue contains an enhancement related to a specific component. Additional functionality has been add
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have a requirement to allow users copy data from tables to clipboard. Currently we have to do it in a custom way, but it would be great if we could use the exportCSV functionality and just get the data as a string/callback instead of saving it automatically to a file. Would it be possible to implement this?
I think the only thing needed would be to add a callback into
DataTableExportCSVOptions
and in DataTable.vue'sexportCSV
function call that instead ofDomHandler.exportCSV
if it's set?Beta Was this translation helpful? Give feedback.
All reactions