-
請問put_table內的欄位寬度可以調整嗎? |
Beta Was this translation helpful? Give feedback.
Answered by
wang0618
Feb 9, 2023
Replies: 1 comment
-
设置相对宽度目前很难实现 不过如果要设置绝对宽度(比如 列宽度可以通过column_args参数指定: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
clusslin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
设置相对宽度目前很难实现
不过如果要设置绝对宽度(比如
200px
), 可以尝试使用新加入到pywebio开发版中的put_datatable()
列宽度可以通过column_args参数指定:
column_args={column_name: {"width": 200}}