If you use the Magnifying Glass icon while debugging to pull up the grid view for a DataSet
, is it possible to copy all the data including the column names to the Clipboard? I'd like to just quickly copy-paste 2 objects into Excel for manual comparison, as they don't have 100% identical structure, but I can only seem to copy the rows themselves.
You can copy the column headers by selecting the columns in the columns list on the left, and then copying with Edit > Copy As Text (not Edit > Copy). Then, select the first row and then Edit > Paste. In JMP 16 (available 2021) there are built-in utilities for situations like this available under Cols > Column Names >.
In JMP, click on File > New > Data Table or select New Data Table from the JMP Starter. 3. Select Edit > Paste or Edit > Paste with Column Names to paste the data into the new data table. Selecting the latter will allow you to paste column names from your Excel File.
To use it, break into your code, mouse over your DataSet, expand the quick watch, view the Tables, expand that, then view Table[0] (for example).
The DataSet Visualizer allows you to view the contents of a DataSet, DataTable, DataView, or DataViewManager object. You can access this visualizer by clicking on the magnifying glass icon that appears next to the Value for one of those objects in a debugger variables window or in a DataTip.
I've never found a good direct way of doing this. Seems like a feature gap.
I do this as a work around:
And boom, you'll have a row of the column headers. You can now copy this to the top of the table data.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With