cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
hogi
Level XI

Copy Columns - selected rows

Copy Columns from the right-click context menu of a column header is very useful. Just copy the column(s)  - with all the settings ... and paste it into a JSL script - or another table.

 

There is a hidden feature:
When rows are selected, the values of the selected rows are used as arguments of the Set Values() command and will populate the cells of the new column.

 

So, when you select all rows before copying a column it's a very convenient way to clone a column .

 

On the other hand, if only a few rows are selected, the functionality leads to surprising results:

The first N rows of the new column get populated with the N selected values (!).

 

For formula columns, the command doesn't have an effect.

So, after copying a column and pasting it into a JSL script, generally my next task is: delete the Set Values(...)[together with the Set Selected ]. Or better: undo the first "paste" - deselect the rows - copy the column again and paste it without the Set Values()  command. 

 

On the third hand, I guess there is a cool use case for this functionality - but I have not found it yet ...

Any ideas?

 

0 REPLIES 0