<?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: Custom shade alternate rows in table box in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Custom-shade-alternate-rows-in-table-box/m-p/768373#M94860</link>
    <description>&lt;P&gt;see &lt;LI-MESSAGE title="Custom Table Calculator" uid="48738" url="https://community.jmp.com/t5/JSL-Cookbook-Archived/Custom-Table-Calculator/m-p/48738#U48738" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;. I think it used to work better, I had to play with the color just now in JMP 18 to see any green.&lt;/P&gt;
&lt;PRE&gt;&amp;lt;&amp;lt;backgroundcolor( RGB Color( 235, 255, 235 ) )&lt;/PRE&gt;
&lt;P&gt;worked better than&lt;/P&gt;
&lt;PRE&gt;&amp;lt;&amp;lt;backgroundcolor( RGB Color( 245, 255, 245 ) )&lt;/PRE&gt;
&lt;P&gt;I'm not sure why it works, looking back at it. I think the light gray interacts with the background green color.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="every other row is very pale green." style="width: 721px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/65568i47E4A53B30699845/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture.png" alt="every other row is very pale green." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;every other row is very pale green.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 20:17:37 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2024-06-25T20:17:37Z</dc:date>
    <item>
      <title>Custom shade alternate rows in table box</title>
      <link>https://community.jmp.com/t5/Discussions/Custom-shade-alternate-rows-in-table-box/m-p/768350#M94857</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to custom-shade alternate rows for the table box, not the data table box?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jackie__2-1719336139604.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/65565i3CBC72CBCC3C7EB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jackie__2-1719336139604.png" alt="Jackie__2-1719336139604.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to shade green instead of dark gray&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jackie__3-1719336150222.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/65566i6478F5931AEC7111/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jackie__3-1719336150222.png" alt="Jackie__3-1719336150222.png" /&gt;&lt;/span&gt;&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;Names Default To Here( 1 );
New Window( "Mountains",
	tb = Table Box(
		String Col Box( "Mountain", {"K2", "Delphi", "Kilimanjaro", "Grand Teton"} ),
		Number Col Box( "Elevation (meters)", {8611, 681, 5895, 4199} )
		
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Jun 2024 17:23:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Custom-shade-alternate-rows-in-table-box/m-p/768350#M94857</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2024-06-25T17:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom shade alternate rows in table box</title>
      <link>https://community.jmp.com/t5/Discussions/Custom-shade-alternate-rows-in-table-box/m-p/768360#M94858</link>
      <description>&lt;P&gt;I don't think you can do it directly with Table Box. You could do the coloring by datatable (example of this below) or col box&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = New Table("Untitled",
	Add Rows(4),
	Compress File When Saved(1),
	New Column("Mountain", Character, "Nominal", Color Cells({44, {2, 4}}), Set Values({"K2", "Delphi", "Kilimanjaro", "Grand Teton"})),
	New Column("Elevation (meters)", Numeric, "Continuous", Format("Best", 12), Color Cells({44, {2, 4}}), Set Values([8611, 681, 5895, 4199]))
);

nw = New Window("",
	dt &amp;lt;&amp;lt; get as report
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Jun 2024 17:48:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Custom-shade-alternate-rows-in-table-box/m-p/768360#M94858</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-06-25T17:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom shade alternate rows in table box</title>
      <link>https://community.jmp.com/t5/Discussions/Custom-shade-alternate-rows-in-table-box/m-p/768373#M94860</link>
      <description>&lt;P&gt;see &lt;LI-MESSAGE title="Custom Table Calculator" uid="48738" url="https://community.jmp.com/t5/JSL-Cookbook-Archived/Custom-Table-Calculator/m-p/48738#U48738" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;. I think it used to work better, I had to play with the color just now in JMP 18 to see any green.&lt;/P&gt;
&lt;PRE&gt;&amp;lt;&amp;lt;backgroundcolor( RGB Color( 235, 255, 235 ) )&lt;/PRE&gt;
&lt;P&gt;worked better than&lt;/P&gt;
&lt;PRE&gt;&amp;lt;&amp;lt;backgroundcolor( RGB Color( 245, 255, 245 ) )&lt;/PRE&gt;
&lt;P&gt;I'm not sure why it works, looking back at it. I think the light gray interacts with the background green color.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="every other row is very pale green." style="width: 721px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/65568i47E4A53B30699845/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture.png" alt="every other row is very pale green." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;every other row is very pale green.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 20:17:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Custom-shade-alternate-rows-in-table-box/m-p/768373#M94860</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2024-06-25T20:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom shade alternate rows in table box</title>
      <link>https://community.jmp.com/t5/Discussions/Custom-shade-alternate-rows-in-table-box/m-p/769204#M94968</link>
      <description>&lt;P&gt;This works. Thanks Jarmo&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 13:14:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Custom-shade-alternate-rows-in-table-box/m-p/769204#M94968</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2024-06-28T13:14:56Z</dc:date>
    </item>
  </channel>
</rss>

