Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copy paste row data and column headers from DataSet Visualizer?

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.

like image 382
sab669 Avatar asked Sep 02 '15 12:09

sab669


People also ask

How do I copy and paste column headers in JMP?

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 >.

How do I paste a column name in JMP?

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.

How do I view data table in Visual Studio?

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).

How do I open Visualizer DataSet?

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.


1 Answers

I've never found a good direct way of doing this. Seems like a feature gap.

I do this as a work around:

  1. Copy and paste the table data into excel
  2. Add a watch for the table.columns property of that same data bale
  3. In the Results View property of the columns property, there's the list of columns. Select all these rows and right click-> copy values
  4. Paste into excel. You should have a list of columns across multiple rows.
  5. Copy those excel rows you just pasted
  6. Right click an empty cell -> Paste Options -> Transpose

And boom, you'll have a row of the column headers. You can now copy this to the top of the table data.

like image 181
Rudy Scoggins Avatar answered Oct 19 '22 21:10

Rudy Scoggins