Skip to content

@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

props/kernelProps.ts:229


dataKind

dataKind: DataKind

数据类型

Data type

Defined in

props/kernelProps.ts:675


fixed

fixed: boolean

是否固定

Whether to fix

Inherited from

CommonColumnProps.fixed

Defined in

props/kernelProps.ts:201


hide

hide: boolean

是否隐藏

Whether to hide

NOTE: 新建布局时仅会复制未隐藏的列。

NOTE: Only unhidden columns will be copied when creating a new layout.

Inherited from

CommonColumnProps.hide

Defined in

props/kernelProps.ts:217


icon

icon: string

图标(来自内部图标库)

Icon (from internal icon library)

Defined in

props/kernelProps.ts:669


kindDateTimeFormat?

optional kindDateTimeFormat: string

日期时间格式

Date-time format

Defined in

props/kernelProps.ts:693


multiValue

multiValue: boolean

是否多值

Whether multi-value

Defined in

props/kernelProps.ts:687


name

name: string

列名

Column name

Inherited from

CommonColumnProps.name

Defined in

props/kernelProps.ts:188


render()?

optional render: (record, layoutKind) => any

自定义渲染

Custom render

Parameters

record

layoutKind: LayoutKind

Returns

any

Inherited from

CommonColumnProps.render

Defined in

props/kernelProps.ts:235


styles

styles: object

样式

Style

Index Signature

[key: string]: string

Inherited from

CommonColumnProps.styles

Defined in

props/kernelProps.ts:223


title

title: string

标题

Title

Defined in

props/kernelProps.ts:663


useDict

useDict: boolean

是否使用字典

Whether to use dictionary

Defined in

props/kernelProps.ts:681


width

width: number

宽度

Width

Inherited from

CommonColumnProps.width

Defined in

props/kernelProps.ts:207


wrap

wrap: boolean

是否换行

Whether to wrap

Inherited from

CommonColumnProps.wrap

Defined in

props/kernelProps.ts:195