Skip to Content
Menu
This question has been flagged
1 Reply
5853 Views

I set the alignment of table to left or right and I save and send to server. When I print the invoice report, the table is always in the center. So I am going to edit it from RML file but I don't know how to do this Please help me.

i have use this code,but table still in center

 

<blockTableStyle id="List_Order_Reference_Tbl">

<blockAlignment value="LEFT"/>

<blockValign value="TOP"/>

--------------------

</blockTableStyle>

   

<blockTable colWidths="2cm,4cm,1cm,1cm" repeatRows="1" style="List_Order_Reference_Tbl"> 

</tr>

<td><para style="terp_table_header">Qty</para></td> 

<td><para style="terp_table_header">Gol</para></td>

<td><para style="terp_table_header">Product</para></td> 

<td><para style="terp_table_header">Lokasi</para></td>

<tr> 


 


Avatar
Discard
Best Answer

Hello Susi,


Add Below tag between <stylesheet> for style terp_table_header.


Ex:-

<stylesheet>

    <paraStyle name="terp_table_header" fontName="Helvetica" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>

</stylesheet>


Hope that it works for you.

Thanks,

Avatar
Discard
Author

i have use that code, but table still in center

can you use terp_table_header style in the table instead of List_Order_Reference_Tbl

Related Posts Replies Views Activity
0
Jan 16
3442
2
May 16
3843
0
Jan 16
2707
3
Jul 24
8138
2
Aug 17
8903