Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1420 Tampilan

Hi, 


I need the "add a line" button on top of the tree within a form.

How can I achieve this?

Thank you

Avatar
Buang
Jawaban Terbai

Hi,

You can use the attribute editable='top' in your tree view

example:

<tree string="Order" editable="top">
         <field name="name"/>
         <field name="model_id"/>
   </tree>

Hope it helps

Avatar
Buang
Penulis

does not work if the tree is inside a form

Post Terkait Replies Tampilan Aktivitas
1
Jul 25
2434
2
Jul 25
7899
2
Jul 25
4305
2
Jul 25
4042
2
Jun 25
2658