تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5904 أدوات العرض

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> 


 


الصورة الرمزية
إهمال
أفضل إجابة

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,

الصورة الرمزية
إهمال
الكاتب

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يناير 16
3491
2
مايو 16
3885
0
يناير 16
2753
3
يوليو 24
8226
2
أغسطس 17
8975