11-10-2013 08:51 PM
Hello
I would like to ask how to copy the contents of Table to another Table? What function?
Solved! Go to Solution.
11-11-2013 02:45 AM - edited 11-11-2013 02:47 AM
If all table cells are compatible, you can get values with:
GetTableCellRangeVals (panelHandle, PANEL_TABLE, VAL_TABLE_ENTIRE_RANGE, array, VAL_COLUMN_MAJOR);
Alternatively you must copy content either in smaller subsets or cell-by-cell. See the command help for an explanation on "compatible".
To fill destination table you can use the opposite SetTableCellRangeVals command
The largest the area you can set (and consequently the lowest the number of operations performed on the table) the fastest will be the process.
You may have an additional improvement by hiding the table before this operation.
11-11-2013 02:51 AM
I have just realized that a fastest method can be to use ClipboardPutTableVals and ClipboardGetTableVals to perform the same operation.
I have used it rarely, though, and I don't remember how it works with different cell types in the table.
11-11-2013 09:06 AM
,
Thank you for your reply, it is very useful to me
Thank you very much
11-11-2013 09:32 AM
You're welcome!