Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
977 มุมมอง

I want to replace a div class that is in an extension view for the header. If I create another ext view and inherit the first ext view, what code would make this work

Original ext view has <div class="o_header_hide_on_scroll">

<xpath> ??? </xpath>
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi LABTREE LTD, you can use this way:

<xpath expr="//div[hasclass('o_header_hide_on_scroll')]" position="replace">
=> Replace view structure <=
</xpath>
อวตาร
ละทิ้ง
ผู้เขียน

Thank you. Lifesaver :)

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 23
2356
3
ก.พ. 25
57789
0
ก.ย. 21
214
0
มี.ค. 25
1313
2
ม.ค. 25
2160