跳至內容
選單
此問題已被標幟
4 回覆
5808 瀏覽次數

i want to display sequence using alphabet in report.rml

example

a. name

b. birthday


頭像
捨棄
最佳答案

In QWEB:

You could do it using the ol tag like:

<ol type="a">

<li>name</li>

<li>birthday</li>

</ol>

See more here:

http://www.w3schools.com/tags/att_ol_type.asp


In RML:

You could do it using the ol tag like:

<ol bulletType="a">

<li>name</li>

<li>birthday</li>

</ol>

See more here:

http://www.reportlab.com/examples/rml/test/test_046_lists.rml

頭像
捨棄

Sorry, that was for qweb reports, not rml

RML version added

作者 最佳答案

Mr Axel, thanks before i want ask again

i have use this code


<ol bulletType="a">

    <blockTable colWidths="1.5cm,8.5cm,8cm" style="Table_String2">

        <tr>

            <td><li><para style="terp_default_right">.</para></li></td>

            <td><para style="terp_default">Projek name </para></td>

            <td><para style="terp_default">: [[ x.nama_proyek ]]</para></td>

        </tr>

    </blockTable>

</ol>


but its doenst work, areu u know how to solve this code?


i want show

a.
Project Name
Tunas Enterprise Dealer System
頭像
捨棄

What is showing with that code?

相關帖文 回覆 瀏覽次數 活動
2
8月 17
9025
1
8月 16
7658
1
10月 15
3486
3
9月 15
3704
3
2月 24
12634