Skip to content

請問put_table內的欄位寬度可以調整嗎? #540

Answered by wang0618
clusslin asked this question in Q&A
Discussion options

You must be logged in to vote

设置相对宽度目前很难实现

不过如果要设置绝对宽度(比如 200px), 可以尝试使用新加入到pywebio开发版中的 put_datatable()

列宽度可以通过column_args参数指定: column_args={column_name: {"width": 200}}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by clusslin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants