@idealworld/task-table v0.1.0-beta.1 / IwProps / TableColumnProps
Interface: TableColumnProps
表格列属性
Table column props
Extends
Properties
categoryTitle?
optional
categoryTitle:string
分类标题
Category title
Inherited from
CommonColumnProps
.categoryTitle
Defined in
dataKind
dataKind:
DataKind
数据类型
Data type
Defined in
fixed
fixed:
boolean
是否固定
Whether to fix
Inherited from
Defined in
hide
hide:
boolean
是否隐藏
Whether to hide
NOTE: 新建布局时仅会复制未隐藏的列。
NOTE: Only unhidden columns will be copied when creating a new layout.
Inherited from
Defined in
icon
icon:
string
图标(来自内部图标库)
Icon (from internal icon library)
Defined in
kindDateTimeFormat?
optional
kindDateTimeFormat:string
日期时间格式
Date-time format
Defined in
multiValue
multiValue:
boolean
是否多值
Whether multi-value
Defined in
name
name:
string
列名
Column name
Inherited from
Defined in
render()?
optional
render: (record
,layoutKind
) =>any
自定义渲染
Custom render
Parameters
• record
• layoutKind: LayoutKind
Returns
any
Inherited from
Defined in
styles
styles:
object
样式
Style
Index Signature
[key
: string
]: string
Inherited from
Defined in
title
title:
string
标题
Title
Defined in
useDict
useDict:
boolean
是否使用字典
Whether to use dictionary
Defined in
width
width:
number
宽度
Width
Inherited from
Defined in
wrap
wrap:
boolean
是否换行
Whether to wrap