テーブルボックスでセルの高さまたはテキストの折り返しを設定する方法表示ウィンドウのテーブルボックスにいくつかの情報を表示しようとしています。 1 つのセル内のテキストが長すぎるため、列の幅が広がりますが、テキストを折り返してセルの高さを広げることはできません。セルの幅を広くせず、高さを高くするようにスクリプトでこれを変更する方法はありますか?
これは私の現在のスクリプトの例です。
longstring =
"In the loveliest town of all, where the houses were white and high \!Nand the elms trees were green and higher than the houses, where the front yards were \!Nwide and pleasant and the back yards were bushy and worth finding out about, \!Nwhere the streets sloped down to the stream and the stream flowed \!Nquietly under the bridge, where the lawns ended in orchards and the orchards ended \!Nin fields and the fields ended in pastures and the pastures climbed the hill and \!Ndisappeared over the top toward the wonderful wide sky, \!Nin this loveliest of all towns Stuart stopped to get a drink of sarsaparilla.";
string2 = "The End.";
nw = New Window( "Display",
tb = Table Box(
string_col1 = String Col Box( "MyString", {longstring} ),
string_col2 = String Col Box( "Column2", {string2} )
)
);

「高さの設定」、「幅の設定」、「最小/最大サイズの設定」を試しましたが、セルの高さを 1 行より大きくする方法は見つかりませんでした。ご提案をお待ちしております、ありがとうございます!
マスカスタマイゼーションRe: テーブルボックスでセルの高さまたはテキストの折り返しを設定する方法String Col Box に折り返しを設定することはまだできないのでしょうか?
2つの列(文字列列ボックス)と24行で構成される表があります。表をPDFの1ページに収まるようにするには、48個のセルのうち3個でテキストを折り返す必要があります(ジャーナルを保存した結果)。上記の解決策が私の問題を解決できるかどうかはわかりません...
Re: テーブルボックスでセルの高さまたはテキストの折り返しを設定する方法これでできました!早速のご返信ありがとうございます!Re: テーブルボックスでセルの高さまたはテキストの折り返しを設定する方法おっと....テーブルボックスではなくデータテーブルを読みました....私のエラーです
Re: テーブルボックスでセルの高さまたはテキストの折り返しを設定する方法文字列列ボックスは、単一行内の複数行をサポートしません。ただし、複数の行にまたがる必要がある列については、コル ボックスを使用し、行ごとにテキスト ボックスを追加できます。
例の更新版は次のとおりです。表示ボックスを列ボックスに追加する唯一の方法は、追加を使用することであることに注意してください。 JMP の将来のリリースでは、これにさらに柔軟性が追加される予定です。
longstring = "In the loveliest town of all, where the houses were white and high and the elms trees were green and higher than the houses, where the front yards were wide and pleasant and the back yards were bushy and worth finding out about, where the streets sloped down to the stream and the stream flowed quietly under the bridge, where the lawns ended in orchards and the orchards ended in fields and the fields ended in pastures and the pastures climbed the hill and disappeared over the top toward the wonderful wide sky, in this loveliest of all towns Stuart stopped to get a drink of sarsaparilla.";
string2 = "The End.";
nw = New Window( "Display",
tb = Table Box(
col1 = Col Box( "MyString" ),
col2 = String Col Box( "Column2", {string2} )
)
);
col1 << append( Text Box( longstring , <<SET wrap=""></SET>
<P>結果のウィンドウは次のとおりです。</P>
<P> </P>
<P><SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 451px;"><span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG" style="width: 451px;"><img src="https://us.v-cdn.net/6038925/uploads/images/6978iB6870A0830A701FC/Capture.PNG" role="button" title="Capture.PNG" alt="Capture.PNG" /></span></SPAN></P>Re: テーブルボックスでセルの高さまたはテキストの折り返しを設定する方法これは Scripting Index の例です
ヘルプ==>スクリプトインデックス==>データテーブル==>セルの高さの設定
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Set Cell Height( 20 );