So legen Sie die Zellenhöhe oder den Textumbruch in einem Tabellenfeld festIch versuche, einige Informationen in einem Tabellenfeld in einem Anzeigefenster anzuzeigen. Der Text in einer Zelle ist so lang, dass er die Spaltenbreite vergrößert, aber den Text nicht umbricht, um die Zellenhöhe zu vergrößern. Gibt es eine Möglichkeit, dies im Skript so zu ändern, dass die Zelle höher und nicht breiter ist?
Dies ist ein Beispiel meines aktuellen Skripts:
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} )
)
);

Ich habe „Höhe festlegen“, „Breite festlegen“ und „Min./Max. Größe festlegen“ ausprobiert, aber keine Möglichkeit gefunden, die Zelle höher als eine Zeile zu machen. Offen für Vorschläge, danke!
MassenanpassungBetreff: So legen Sie die Zellenhöhe oder den Textumbruch in einem Tabellenfeld festIst es immer noch nicht möglich, Wrap auf die String-Col-Box zu setzen?
Ich habe eine Tabelle, die aus 2 Spalten (String Col Box) und 24 Zeilen besteht. Ich müsste den Text in 3 von 48 Zellen umbrechen, damit die Tabelle auf eine Seite des PDFs passt (resultierend aus dem Speichern eines Tagebuchs). Ich bin mir nicht sicher, ob die obige Lösung bei meinem Problem helfen könnte ...
Betreff: So legen Sie die Zellenhöhe oder den Textumbruch in einem Tabellenfeld festDas hat es geschafft! Danke für die schnelle Antwort!Betreff: So legen Sie die Zellenhöhe oder den Textumbruch in einem Tabellenfeld festUps.....Ich habe die Datentabelle gelesen, nicht die Tabellenbox...mein Fehler
Betreff: So legen Sie die Zellenhöhe oder den Textumbruch in einem Tabellenfeld festString Col Box unterstützt nicht mehrere Zeilen innerhalb einer einzelnen Zeile. Sie können jedoch ein Spaltenfeld verwenden und Textfelder für jede Zeile für Spalten anhängen, die sich über mehrere Zeilen erstrecken müssen.
Hier ist eine aktualisierte Version Ihres Beispiels. Beachten Sie, dass die einzige Möglichkeit, Anzeigefelder zu einem Col-Feld hinzuzufügen, die Verwendung von „Anhängen“ ist. Wir gehen davon aus, dass wir dies in einer zukünftigen Version von JMP noch flexibler gestalten werden.
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>Hier ist das resultierende Fenster:</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>Betreff: So legen Sie die Zellenhöhe oder den Textumbruch in einem Tabellenfeld festHier ist das Beispiel aus dem Scripting Index
Hilfe==>Skriptindex==>Datentabelle==>Zellenhöhe festlegen
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Set Cell Height( 20 );