콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
7228 화면

I'm trying to add rows to an existing website table, but I can seem to figure out how to do that?  I'm sorry if this is super basic, but I haven't been able to find out how to do this


아바타
취소

Do you want to add a row in an existing template (server-side / qweb) when the page is displayed, or do you want to add a row client-side after the page is loaded (javascript/jQuery) ?

작성자 베스트 답변

Actually, I was trying to add a row to an HTML table through the WYSIWYG editor; but I figured it out.  You have to move your cursor to the bottom, right cell and hit the enter key. Not terribly intuitive, but it works.

아바타
취소

If you want to add a row somewhere in between and not just at the end, you can edit the view of the webpage. Go to "Website > Configuration > Pages" and click on the page you want to change. Then click on the view. Here you can edit the source code of the page, including adding table rows. Be cautious, though, as this is not just HTML. Odoo uses QWeb as template engine and you might want to learn about this first.

관련 게시물 답글 화면 활동
0
10월 15
4373
2
12월 23
4873
2
12월 21
5228
4
5월 25
3380
2
1월 25
2166