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; }
你好!看起来您对这段对话很感兴趣,但您还没有一个账号。
厌倦了每次访问都刷到同样的帖子?您注册账号后,您每次返回时都能精准定位到您上次浏览的位置,并可选择接收新回复通知(通过邮件或推送通知)。您还能收藏书签、为帖子顶,向社区成员表达您的欣赏。
有了你的建议,这篇帖子会更精彩哦 💗