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

I'm trying to set my invoices (list view) table header and footer fixed, I made some touchs on the css from google chrome's inspector interface, I made some mess such us  :

ON: 

body > div > table > tbody > tr:nth-child(2) > td.oe_application > div > div > div > div.oe_view_manager_view_list > div > table > tbody

  • position: absolute;
  • max-height: 100%
  • overflow: auto;

It scrolls but looks like the body rows cells don't resize as the header dimensions, 

Any Clues, Ideas, Solutions... ?

 

Ảnh đại diện
Huỷ bỏ

have the same problem here. IMHO there is no easy way to do it. I will now try to set the size of the header manually with js.

Tác giả

Apparently, that could not be treated without js, In fact we can fix the header but as you said, the width of columns stays fixed too, and not responsive the the table rows columns width,

Tác giả

@Peter Nietz Have you found any way to do it ? For me, I'm willing to start a little bit about JS, once I find something, I'll notify you

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

refer https://apps.odoo.com/apps/modules/8.0/list_view_header/

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 16
3932
1
thg 10 16
7175
0
thg 7 16
5981
0
thg 3 15
4280
1
thg 3 15
2903