Preparing search index...
The search index is not available
cheetah-grid
cheetah-grid
ColumnDefine
Interface ColumnDefine<T>
interface
ColumnDefine
<
T
>
{
action
?:
null
|
ColumnActionOption
|
BaseAction
<
T
>
;
caption
?:
string
|
(
(
)
=>
string
)
;
columnType
?:
null
|
ColumnTypeOption
|
BaseColumn
<
T
>
;
field
?:
FieldDef
<
T
>
;
headerAction
?:
null
|
HeaderActionOption
|
BaseAction
<
T
>
;
headerField
?:
string
;
headerIcon
?:
ColumnIconOption
<
never
>
|
ColumnIconOption
<
never
>
[]
;
headerStyle
?:
null
|
HeaderStyleOption
|
BaseStyle
;
headerType
?:
null
|
HeaderTypeOption
|
BaseHeader
<
T
>
;
icon
?:
ColumnIconOption
<
T
>
|
ColumnIconOption
<
T
>
[]
;
maxWidth
?:
string
|
number
;
message
?:
|
Message
|
keyof
T
|
(
(
record
:
T
)
=>
Message | null
)
|
(
Message | keyof T | ((record: T) => Message | null)
)
[]
;
minWidth
?:
string
|
number
;
sort
?:
OldSortOption
<
T
>
;
style
?:
null
|
ColumnStyleOption
;
width
?:
string
|
number
;
}
Type Parameters
T
Hierarchy
BaseHeaderDefine
<
T
>
ColumnDefine
Index
Properties
action?
caption?
column
Type?
field?
header
Action?
header
Field?
header
Icon?
header
Style?
header
Type?
icon?
max
Width?
message?
min
Width?
sort?
style?
width?
Properties
Optional
action
action
?:
null
|
ColumnActionOption
|
BaseAction
<
T
>
Optional
caption
caption
?:
string
|
(
(
)
=>
string
)
Optional
column
Type
column
Type
?:
null
|
ColumnTypeOption
|
BaseColumn
<
T
>
Optional
field
field
?:
FieldDef
<
T
>
Optional
header
Action
header
Action
?:
null
|
HeaderActionOption
|
BaseAction
<
T
>
Optional
header
Field
header
Field
?:
string
Optional
header
Icon
header
Icon
?:
ColumnIconOption
<
never
>
|
ColumnIconOption
<
never
>
[]
Optional
header
Style
header
Style
?:
null
|
HeaderStyleOption
|
BaseStyle
Optional
header
Type
header
Type
?:
null
|
HeaderTypeOption
|
BaseHeader
<
T
>
Optional
icon
icon
?:
ColumnIconOption
<
T
>
|
ColumnIconOption
<
T
>
[]
Optional
max
Width
max
Width
?:
string
|
number
Optional
message
message
?:
|
Message
|
keyof
T
|
(
(
record
:
T
)
=>
Message | null
)
|
(
Message | keyof T | ((record: T) => Message | null)
)
[]
Optional
min
Width
min
Width
?:
string
|
number
Optional
sort
sort
?:
OldSortOption
<
T
>
Optional
style
style
?:
null
|
ColumnStyleOption
Optional
width
width
?:
string
|
number
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
action
caption
column
Type
field
header
Action
header
Field
header
Icon
header
Style
header
Type
icon
max
Width
message
min
Width
sort
style
width
cheetah-grid
Loading...