<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to save data table(colored cells) to Interactive HTML? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265607#M51722</link>
    <description>Save the data table first to a journal and then save the journal to html</description>
    <pubDate>Sun, 10 May 2020 17:19:17 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-05-10T17:19:17Z</dc:date>
    <item>
      <title>How to save data table(colored cells) to Interactive HTML?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265588#M51718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I saved 'dt_newin' as&amp;nbsp;Interactive HTML and try to open the file (in chrome\explorer) the color in the columns disappeared.&lt;/P&gt;&lt;P&gt;Is there a solution to this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt_newin = New Window( "Data Tool", db);

dt_newin() &amp;lt;&amp;lt; journal;
Current Journal() &amp;lt;&amp;lt; Save INTERACTIVE HTML( "C:\Desktop\Report\Summary Data.html" );
Current Journal() &amp;lt;&amp;lt; Close window( nosave );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2020 15:15:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265588#M51718</guid>
      <dc:creator>Botzal</dc:creator>
      <dc:date>2020-05-10T15:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to save data table(colored cells) to Interactive HTML?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265607#M51722</link>
      <description>Save the data table first to a journal and then save the journal to html</description>
      <pubDate>Sun, 10 May 2020 17:19:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265607#M51722</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-05-10T17:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to save data table(colored cells) to Interactive HTML?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265630#M51727</link>
      <description>&lt;P&gt;I have tried several options, without success. -&amp;nbsp; see below.&lt;/P&gt;&lt;P&gt;Can you give me more details please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;charts = {};

db = Outline Box( "Cdata Tool", Outline Box( "Summary", myTab = Tab Box() ) );

For( i = 1, i &amp;lt;= N Items( Dis1 ), i++,
myTab &amp;lt;&amp;lt; Insert(
Dis[i],
Eval(
Parse(
"charts[" || Char( i ) ||
"] = Charts_1 = V List Box(
V List Box( dt_dtarray1[i] &amp;lt;&amp;lt; get as report() ),
ob1=Outline Box( \!"Drill Down Analysis
--&amp;gt; Click Here\!", 
V List Box( dt_dtarray2[i] &amp;lt;&amp;lt; get as report() ),));"))));

ob1&amp;lt;&amp;lt;close;

dt_newin = New Window( "Cdata Tool",db,&amp;lt;&amp;lt;Journal);
dt_newin &amp;lt;&amp;lt; Save interactive HTML( "\\Desktop\Report\Summary .html" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 17:25:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265630#M51727</guid>
      <dc:creator>Botzal</dc:creator>
      <dc:date>2020-05-18T17:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to save data table(colored cells) to Interactive HTML?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265642#M51729</link>
      <description>&lt;P&gt;Here is how I typically do it&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=Open("$SAMPLE_DATA/big class.jmp");

dt:sex &amp;lt;&amp;lt; color Cells("green",dt&amp;lt;&amp;lt;get rows where(:sex=="F"));
dt:sex &amp;lt;&amp;lt; color Cells("Orange",dt&amp;lt;&amp;lt;get rows where(:sex=="M"));

interium=new window("interium",&amp;lt;&amp;lt;journal);
dt&amp;lt;&amp;lt;journal;



nw=new window("The Test",&amp;lt;&amp;lt;journal,
	Outline box("Here are the data",
		interium &amp;lt;&amp;lt; get picture
	)
);

interium&amp;lt;&amp;lt;close window;

nw &amp;lt;&amp;lt; save interactive html ("$TEMP\data table.html");

open("$TEMP/data table.html");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 May 2020 04:01:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265642#M51729</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-05-11T04:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to save data table(colored cells) to Interactive HTML?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265690#M51743</link>
      <description>&lt;P&gt;Jim's approach captures a picture. Try this to have an HTML table with selectable data:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=Open("$SAMPLE_DATA/big class.jmp");
dt:sex &amp;lt;&amp;lt; color Cells("green",dt&amp;lt;&amp;lt;get rows where(:sex=="F"));
dt:sex &amp;lt;&amp;lt; color Cells("Orange",dt&amp;lt;&amp;lt;get rows where(:sex=="M"));
temp=new window("temp",&amp;lt;&amp;lt;journal);
dt&amp;lt;&amp;lt;journal;
temp&amp;lt;&amp;lt;saveHTML("$desktop/bigclass.html");
temp&amp;lt;&amp;lt;closewindow;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="big class in  browser" style="width: 251px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/23864i60E5EFCA0333126D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="big class in  browser" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;big class in  browser&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 12:18:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/265690#M51743</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2020-05-11T12:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to save data table(colored cells) to Interactive HTML?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/267432#M52076</link>
      <description>Thank you very much, it works great!</description>
      <pubDate>Mon, 18 May 2020 17:24:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-data-table-colored-cells-to-Interactive-HTML/m-p/267432#M52076</guid>
      <dc:creator>Botzal</dc:creator>
      <dc:date>2020-05-18T17:24:22Z</dc:date>
    </item>
  </channel>
</rss>

