@@ -20,119 +20,119 @@ export declare class Column extends AntdComponent {
20
20
* @default 'left'
21
21
* @type string
22
22
*/
23
- align : 'left' | 'right' | 'center' ;
23
+ align ? : 'left' | 'right' | 'center' ;
24
24
25
25
/**
26
26
* Span of this column's title
27
27
* @type number
28
28
*/
29
- colSpan : number ;
29
+ colSpan ? : number ;
30
30
31
31
/**
32
32
* Display field of the data record, could be set like a.b.c
33
33
* @type string
34
34
*/
35
- dataIndex : string ;
35
+ dataIndex ? : string ;
36
36
37
37
/**
38
38
* Default order of sorted values: 'ascend' 'descend' null
39
39
* @type string
40
40
*/
41
- defaultSortOrder : SortOrder ;
41
+ defaultSortOrder ? : SortOrder ;
42
42
43
43
/**
44
44
* Customized filter overlay
45
45
* @type any (slot)
46
46
*/
47
- filterDropdown : any ;
47
+ filterDropdown ? : any ;
48
48
49
49
/**
50
50
* Whether filterDropdown is visible
51
51
* @type boolean
52
52
*/
53
- filterDropdownVisible : boolean ;
53
+ filterDropdownVisible ? : boolean ;
54
54
55
55
/**
56
56
* Whether the dataSource is filtered
57
57
* @default false
58
58
* @type boolean
59
59
*/
60
- filtered : boolean ;
60
+ filtered ? : boolean ;
61
61
62
62
/**
63
63
* Controlled filtered value, filter icon will highlight
64
64
* @type string[]
65
65
*/
66
- filteredValue : string [ ] ;
66
+ filteredValue ? : string [ ] ;
67
67
68
68
/**
69
69
* Customized filter icon
70
70
* @default false
71
71
* @type any
72
72
*/
73
- filterIcon : any ;
73
+ filterIcon ? : any ;
74
74
75
75
/**
76
76
* Whether multiple filters can be selected
77
77
* @default true
78
78
* @type boolean
79
79
*/
80
- filterMultiple : boolean ;
80
+ filterMultiple ? : boolean ;
81
81
82
82
/**
83
83
* Filter menu config
84
84
* @type object[]
85
85
*/
86
- filters : ColumnFilterItem [ ] ;
86
+ filters ? : ColumnFilterItem [ ] ;
87
87
88
88
/**
89
89
* Set column to be fixed: true(same as left) 'left' 'right'
90
90
* @default false
91
91
* @type boolean | string
92
92
*/
93
- fixed : boolean | 'left' | 'right' ;
93
+ fixed ? : boolean | 'left' | 'right' ;
94
94
95
95
/**
96
96
* Unique key of this column, you can ignore this prop if you've set a unique dataIndex
97
97
* @type string
98
98
*/
99
- key : string ;
99
+ key ? : string ;
100
100
101
101
/**
102
102
* Renderer of the table cell. The return value should be a VNode, or an object for colSpan/rowSpan config
103
103
* @type Function | ScopedSlot
104
104
*/
105
- customRender : Function | ScopedSlot ;
105
+ customRender ? : Function | ScopedSlot ;
106
106
107
107
/**
108
108
* Sort function for local sort, see Array.sort's compareFunction. If you need sort buttons only, set to true
109
109
* @type boolean | Function
110
110
*/
111
- sorter : boolean | Function ;
111
+ sorter ? : boolean | Function ;
112
112
113
113
/**
114
114
* Order of sorted values: 'ascend' 'descend' false
115
115
* @type boolean | string
116
116
*/
117
- sortOrder : boolean | SortOrder ;
117
+ sortOrder ? : boolean | SortOrder ;
118
118
119
119
/**
120
120
* Title of this column
121
121
* @type any (string | slot)
122
122
*/
123
- title : any ;
123
+ title ? : any ;
124
124
125
125
/**
126
126
* Width of this column
127
127
* @type string | number
128
128
*/
129
- width : string | number ;
129
+ width ? : string | number ;
130
130
131
131
/**
132
132
* Set props on per cell
133
133
* @type Function
134
134
*/
135
- customCell : (
135
+ customCell ? : (
136
136
record : any ,
137
137
rowIndex : number ,
138
138
) => {
@@ -148,7 +148,7 @@ export declare class Column extends AntdComponent {
148
148
* Set props on per header cell
149
149
* @type
150
150
*/
151
- customHeaderCell : (
151
+ customHeaderCell ? : (
152
152
column : any ,
153
153
) => {
154
154
props : object ;
@@ -163,25 +163,25 @@ export declare class Column extends AntdComponent {
163
163
* Callback executed when the confirm filter button is clicked, Use as a filter event when using template or jsx
164
164
* @type Function
165
165
*/
166
- onFilter : Function ;
166
+ onFilter ? : Function ;
167
167
168
168
/**
169
169
* Callback executed when filterDropdownVisible is changed, Use as a filterDropdownVisible event when using template or jsx
170
170
* @type Function
171
171
*/
172
- onFilterDropdownVisibleChange : ( visible : boolean ) => void ;
172
+ onFilterDropdownVisibleChange ? : ( visible : boolean ) => void ;
173
173
174
174
/**
175
175
* When using columns, you can use this property to configure the properties that support the slot,
176
176
* such as slots: { filterIcon: 'XXX'}
177
177
* @type object
178
178
*/
179
- slots : object ;
179
+ slots ? : object ;
180
180
181
181
/**
182
182
* When using columns, you can use this property to configure the properties that support the slot-scope,
183
183
* such as scopedSlots: { customRender: 'XXX'}
184
184
* @type object
185
185
*/
186
- scopedSlots : object ;
186
+ scopedSlots ? : object ;
187
187
}
0 commit comments