<?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: Selection and coloring cells in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Selection-and-coloring-cells/m-p/186063#M40448</link>
    <description>Thanks again!</description>
    <pubDate>Mon, 11 Mar 2019 17:11:12 GMT</pubDate>
    <dc:creator>UberBock</dc:creator>
    <dc:date>2019-03-11T17:11:12Z</dc:date>
    <item>
      <title>Selection and coloring cells</title>
      <link>https://community.jmp.com/t5/Discussions/Selection-and-coloring-cells/m-p/186051#M40446</link>
      <description>&lt;P&gt;So if I use:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = currentDataTable();
dt &amp;lt;&amp;lt; select where(:RESULTNAME != "Success");
dt:RESULTNAME &amp;lt;&amp;lt; color cells(RGB Color( 255, 150, 150 ));
dt &amp;lt;&amp;lt; clear select();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the data table has only 'Success' all cells are colored.&amp;nbsp; If the table has 1 value that is not 'Success' then it colors that cell and only that cell.&amp;nbsp; Anyway to have it not color all the cells when it only has 'Success'&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 19:32:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Selection-and-coloring-cells/m-p/186051#M40446</guid>
      <dc:creator>UberBock</dc:creator>
      <dc:date>2019-03-11T19:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Selection and coloring cells</title>
      <link>https://community.jmp.com/t5/Discussions/Selection-and-coloring-cells/m-p/186061#M40447</link>
      <description>&lt;P&gt;Try using this method&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&amp;lt;&amp;lt;select where(:age==12);

dt:age&amp;lt;&amp;lt;color cells("red", dt&amp;lt;&amp;lt;get selected rows);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Mar 2019 17:00:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Selection-and-coloring-cells/m-p/186061#M40447</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-03-11T17:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selection and coloring cells</title>
      <link>https://community.jmp.com/t5/Discussions/Selection-and-coloring-cells/m-p/186063#M40448</link>
      <description>Thanks again!</description>
      <pubDate>Mon, 11 Mar 2019 17:11:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Selection-and-coloring-cells/m-p/186063#M40448</guid>
      <dc:creator>UberBock</dc:creator>
      <dc:date>2019-03-11T17:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Selection and coloring cells</title>
      <link>https://community.jmp.com/t5/Discussions/Selection-and-coloring-cells/m-p/186105#M40459</link>
      <description>&lt;P&gt;You can also use get rows where:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = currentDataTable();
match_rows = dt &amp;lt;&amp;lt; get rows where(:RESULTNAME != "Success");
dt:RESULTNAME &amp;lt;&amp;lt; color cells(RGB Color( 255, 150, 150 ), match_rows);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Mar 2019 22:48:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Selection-and-coloring-cells/m-p/186105#M40459</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2019-03-11T22:48:12Z</dc:date>
    </item>
  </channel>
</rss>

