Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
odoo11怎么自定义tree视图的列宽?? 我加了一个css
custom_th th[data-id="name"]{ width:30px; } .custom_th th[data-id="price"]{ width:190px; }
引用这个css之后没有效果。 而且就算有效果,也不合理。我每个字段都要写一个宽度,很费劲。 能不能定义
width:30px; } .custom_th th2{ width:190px; }
能不能这样定义的,可以复用的??
.custom_th th[data-id="name"]{ width:30px; } .custom_th th[data-id="price"]{ width:190px; } 没用
已经解决。修改list_renderer.js 然后写一个css .myclass [data-name="user_id"], [data-name="write_uid"], [data-name="normal_state"], [data-name="score"], [data-name="alternative"] { width: 40px; }