You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2019/01/17 04:52:06 UTC

[GitHub] felixcheung commented on a change in pull request #3254: [ZEPPELIN-3575] Add 'Copy Column Name' to table visualisation-table

felixcheung commented on a change in pull request #3254: [ZEPPELIN-3575] Add 'Copy Column Name' to table visualisation-table 
URL: https://github.com/apache/zeppelin/pull/3254#discussion_r248538413
 
 

 ##########
 File path: zeppelin-web/src/app/visualization/builtins/visualization-table.js
 ##########
 @@ -256,6 +256,15 @@ export default class TableVisualization extends Visualization {
             return this.context.col.colDef.type === TableColumnType.DATE;
           },
         },
+        {
+          title: 'Copy Column Name',
+          action: function() {
+            self.copyStringToClipboard(this.context.col.displayName);
+          },
+          active: function() {
+            self.copyStringToClipboard(this.context.col.displayName);
 
 Review comment:
   wait, shouldn't this be true?

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


With regards,
Apache Git Services