palantir/blueprint
[Table] Auto-size column widths based on cell contents and a maximum width
开放
#1,863 创建于 2017年12月4日
Package: tableType: feature requesthelp wanted
仓库指标
- 星标
- (20,263 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Currently you have to manually set the sizes of each column, but we've had requests for the columns to auto-size based on their contents.
It'd be fine if this were a instance method function like the resize rows functions: http://blueprintjs.com/docs/#table-js.instance-methods.
It could either by a getColumnWidths function, or a autoSetColumnWidths(maxSize).