Hi everyone!
well i'm working with HeaderBodyLines and HeaderBodyLinesColumn and the thing is that i need to put some limit on the HeaderBodyLinesColumn. I get too much results and i want to put them like this:
Result1, result2, result3, result4, result5, result6,
result7, result8, result9, result10, result11
and not like this (now i'm getting it like this, because of the end of the screen):
Result1, result2, result3, result4, result5, result6, result7, result8, result9,
result10, result11
so my code is this:
<xsl:choose>
<xsl:when test="ns1:TpzLineaPedidoAlt">
<HeaderBodyLines pos="center">
<HeaderBodyLinesColumn style="default" pos="center" size="180">
<table border="1" width="12px" height="200px">
<tr>
<xsl:value-of select="$sep"/>
<xsl:value-of select="$sep"/>
<xsl:for-each select="/ns1:dsTelepizzaAvenewSale/ns1:PosLog/ns1:Transaction/ns1:Sale_Type/ns1:Invoice/ns1:TpzLineaPedido/ns1:TpzLineaPedidoAlt">
<xsl:apply-templates select="./ns1:Tpz_Nombre" />
<xsl:if test="position()!=last()">
<xsl:value-of select="','"/>
</xsl:if>
</xsl:for-each>
</tr>
</table>
</HeaderBodyLinesColumn>
</HeaderBodyLines>
</xsl:when>
<xsl:otherwise>
<xsl:text>
</xsl:text>
</xsl:otherwise>
</xsl:choose>
As you can see, i use the size but it's not the size of the line, is the size of the text inside. I tried to put it in a table but it doen't work...
what else i can do to put some limit on the row of the results to put it like on a paragraph with some limits on both sides, left and right (and grow vertically).
Thanks in advance...