Perspective table copy option customize

Hi Folks,

I'm using a right-click option on a table in Perspective, and I've noticed an inconsistency in the copied output.

  • When I select a single row, the value is copied as expected, e.g., Jakarta.
  • However, when I select multiple rows, the copied result includes the column names, like this:
    [{"city":"Jakarta"},{"city":"Helsinki"},{"city":"Madrid"},{"city":"Prague"}]

Is there a way to exclude the column names and copy only the values when multiple rows are selected? Ideally, I'd like the output to look like:
Jakarta,Helsinki,Madrid,Prague

Would appreciate any suggestions or workarounds on how to achieve this. Thanks!

For anyone trying to reproduce this with the default table, set,
selection.mode : multiple interval
selection.enableRowSelection : true
selection.enableColumnSelection : true

Ultimately the problem will be that Perspective does not expose the clipboard API - probably for security reasons.

try outputVariable.values()

What? Where? How?