データテーブルボックスのテキストを条件付きで色付けする条件に基づいて、データ テーブル ボックスの特定のセルのテキストに色を付けたいと思います。私がやろうとしていることの例を次に示します。
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Where(:Age > 14);
:Age << Color Cells( "Red" );
上記の出力は次のようになります。

しかし、ウィンドウに表示される結果は次のようになります。
win3 = New Window( "Combined Report",
Data Table Box(dt));

色はありません。
要約すると、私がやろうとしていることは、モデルの出力ウィンドウでの p 値に、0.05 の限界に近づくと条件付きで色付けされる現象に似ています。
自動化とスクリプトデータアクセスデータの探索と視覚化Re: データ テーブル ボックスのテキストを条件付きで色付けする<< get as reportを使用すると色を取得できます
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << Select Where(:Age > 14);
:Age << Color Cells("Red");
dt << clear select;
nw = New Window("",
dt << get as report
);

Re: データ テーブル ボックスのテキストを条件付きで色付けするセルの色が付いたデータテーブルはジャーナルに移動できます
names default to here(1);
dt =
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );
dt:name << color cells("red",{3,4,5,6,7});
dt:age << color cells("blue", {6, 8, 10});
nw = New Window("Output", <<JOURNAL></JOURNAL>
<P><SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1728652930272.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="txnelson_0-1728652930272.png" style="width: 332px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="txnelson_0-1728652930272.png" style="width: 332px;"><span class="lia-inline-image-display-wrapper" image-alt="txnelson_0-1728652930272.png" style="width: 332px;"><img src="https://us.v-cdn.net/6038925/uploads/images/69035i30F4E03890B26090/txnelson_0-1728652930272.png" role="button" title="txnelson_0-1728652930272.png" alt="txnelson_0-1728652930272.png" /></span></SPAN></SPAN></SPAN></P>
<P><SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1728652973234.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="txnelson_2-1728652973234.png" style="width: 153px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="txnelson_2-1728652973234.png" style="width: 153px;"><span class="lia-inline-image-display-wrapper" image-alt="txnelson_2-1728652973234.png" style="width: 153px;"><img src="https://us.v-cdn.net/6038925/uploads/images/69037i96EE77964E3894C5/txnelson_2-1728652973234.png" role="button" title="txnelson_2-1728652973234.png" alt="txnelson_2-1728652973234.png" /></span></SPAN></SPAN></SPAN></P>
<P>別の方法を使用すると、データテーブルをジャーナルに渡して標準の表示ウィンドウに追加することで、ジャーナル以外のウィンドウに追加できます。</P>
<P> </P>
<CODE class=" language-jsl">names default to here(1);
dt =
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );
dt:name << color cells("red",{3,4,5,6,7});
dt:age << color cells("blue", {6, 8, 10});
nw = new window("Outline",ob=outlinebox("data table"));
ob<<APPEND></APPEND>
<P><SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_3-1728653771020.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="txnelson_3-1728653771020.png" style="width: 116px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="txnelson_3-1728653771020.png" style="width: 116px;"><span class="lia-inline-image-display-wrapper" image-alt="txnelson_3-1728653771020.png" style="width: 116px;"><img src="https://us.v-cdn.net/6038925/uploads/images/69038iDDAC0EA4E28A359D/txnelson_3-1728653771020.png" role="button" title="txnelson_3-1728653771020.png" alt="txnelson_3-1728653771020.png" /></span></SPAN></SPAN></SPAN></P>
<P> </P>
<P> </P>Re: データ テーブル ボックスのテキストを条件付きで色付けするいいですね!でも私の場合はテーブルが広くてスクロールバーがあります。

これにより、不要な最後の列が非表示になります。レポート テーブルの幅をウィンドウに合わせることは可能ですか?
Re: データ テーブル ボックスのテキストを条件付きで色付けする作成したテーブルボックスのスクロール可能なプロパティを変更できます
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Probe.jmp");
dt << Select Where(:Site > 2);
:Site << Color Cells("Red");
dt << clear select;
nw = New Window("",
rep = dt << get as report
);
tb = rep << Child;
tb << Set Scrollable(0,0);