Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
11045 Lượt xem

I have a form view which it has a tree view like this:

<form>

<header>

<button name="btn_validate">

<header>

<notebook>

<page>

<field name="o2m">

<tree>

<field name="field_one">

<field name="field_two">

<field name="field_three">

</tree>

</field>

</page>

</notebook>

</form>


the tree display more than 20 records that's why I have to freeze the column name to avoid hassle like we need to scroll up again to know which column does the data belong(if there's to many column display)


 Everytime  I scroll down the headers disappear ,How can I achieve this?




Ảnh đại diện
Huỷ bỏ
Tác giả

Dear Chris,

Thank u for the tips , I will try it

Câu trả lời hay nhất

If I understand properly, you want to limit the number of rows in your tree view that is in your form view... Here is an example.. use limit in your tree tag..

<field name="line_ids">
<tree limit="15">
<field name="name"/>
<field name="type"/>
</tree> </field>
Ảnh đại diện
Huỷ bỏ
Tác giả

Dear Anees,

Gonna try it, because they want the data to show up, no limit but when u scroll down , the header still visible

"the header still visible"? Means the tree view header? Can you please take a screen shot and explain the requirement?

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 25
4645
5
thg 11 23
42959
3
thg 9 23
9450
1
thg 9 22
3721
1
thg 6 22
12548