Re: Cómo establecer la altura de celda o el ajuste de texto en un cuadro de tabla¿Aún no es posible establecer Wrap en el ¿Cuerda Col Caja?
Tengo una tabla que consta de 2 columnas (String Col Box) y 24 filas. Necesitaría ajustar el texto en 3 de 48 celdas para que la tabla quepa en una página del pdf (resultante de guardar un diario). No estoy seguro de si la solución anterior podría ayudar con mi problema...
Re: Cómo establecer la altura de celda o el ajuste de texto en un cuadro de tabla¡Esto lo hizo! ¡Gracias por la rápida respuesta!Re: Cómo establecer la altura de celda o el ajuste de texto en un cuadro de tablaVaya... leí la tabla de datos, no el cuadro de tabla... mi error
Re: Cómo establecer la altura de celda o el ajuste de texto en un cuadro de tablaString Col Box no admite varias líneas dentro de una sola fila. Sin embargo, puede usar un cuadro de columna y agregar cuadros de texto para cada fila para las columnas que deben abarcar varias filas.
Aquí hay una versión actualizada de su ejemplo. Tenga en cuenta que la única forma de agregar cuadros de visualización a un Cuadro de columna es mediante Anexar. Esperamos agregar más flexibilidad a esto en una versión futura de 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>
Aquí está la ventana resultante:

Re: Cómo establecer la altura de celda o el ajuste de texto en un cuadro de tablaAquí está el ejemplo del índice de secuencias de comandos
Ayuda==>Índice de secuencias de comandos==>Tabla de datos==>Establecer altura de celda
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Set Cell Height( 20 );
Cómo establecer la altura de celda o el ajuste de texto en un cuadro de tablaEstoy tratando de mostrar información en un cuadro de tabla en una ventana de visualización. El texto en una celda es tan largo que extiende el ancho de la columna pero no envuelve el texto para extender el alto de la celda. ¿Hay alguna forma de cambiar esto en el script para que la celda sea más alta y no más ancha?
Este es un ejemplo de mi script actual:
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} )
)
);

Probé Establecer altura, Establecer ancho y Establecer tamaño mínimo/máximo, pero no encontré la manera de hacer que la celda sea más alta que una línea. Abierto a sugerencias, gracias!
La personalización en masa