Clone a TableWhat are some of the ways you guys clone a table? Is there an easy way to make the tables talk? Say, changing a value in a cell will update both tables?
Re: Clone a Table<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />The easiest way to do this is using a
Tables==>Subset
and then select to copy All rows and All Columns, and if you want the table linked, then select the Link to original data table box
The script for this would be:
dt = current data table();
dt << Subset( All rows, Selected columns only( 0 ), Link to original data table( 1 ) );
Re: Clone a Table<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />FYI, for cloning the table 'dt' you can also use 'Eval(dt << getScript)'.
Re: Clone a Table<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Or if you need a second view of the same data, Window->NewDataView makes a second view, independently scrollable, of the same data. Updates happen in both views.
Re: Clone a Table<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />This is it, this is the script that seems to work for my intended purposes. It's so simple, not sure why I never thought of it before.
Re: Clone a Table<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />This is what I was doing. Great minds think alike right?
Re: Clone a Table<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />This is a great feature, thanks for replying. Also a note, 'dt << New Data View' doesn't create a copy of a private table but does make the private table visible. Which isn't exactly what I was looking for, but answers a problem I've had for awhile and didn't think there was a solution too.