Skip to content

Commit fd87f77

Browse files
committed
2 parents 7cbe6b4 + 37441a9 commit fd87f77

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
"vue-router": "^3.0.1",
161161
"vue-server-renderer": "^2.6.11",
162162
"vue-template-compiler": "^2.6.11",
163-
"vue-virtual-scroller": "^0.12.0",
163+
"vue-virtual-scroller": "^1.0.0",
164164
"vuex": "^3.1.0",
165165
"webpack": "^4.28.4",
166166
"webpack-cli": "^3.2.1",

types/table/column.d.ts

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ export declare class Column extends AntdComponent {
2121
* @type string
2222
*/
2323
align?: 'left' | 'right' | 'center';
24+
25+
/**
26+
* ellipsize cell content, not working with sorter and filters for now.
27+
* tableLayout would be fixed when ellipsis is true.
28+
* @default false
29+
* @type boolean
30+
*/
31+
ellipsis?: boolean;
32+
2433

2534
/**
2635
* Span of this column's title
@@ -33,6 +42,12 @@ export declare class Column extends AntdComponent {
3342
* @type string
3443
*/
3544
dataIndex?: string;
45+
46+
/**
47+
* Default filtered values
48+
* @type string[]
49+
*/
50+
defaultFilteredValue?: string[];
3651

3752
/**
3853
* Default order of sorted values: 'ascend' 'descend' null
@@ -115,7 +130,14 @@ export declare class Column extends AntdComponent {
115130
* @type boolean | string
116131
*/
117132
sortOrder?: boolean | SortOrder;
118-
133+
134+
/**
135+
* supported sort way, could be 'ascend', 'descend'
136+
* @default ['ascend', 'descend']
137+
* @type string[]
138+
*/
139+
sortDirections?: string[];
140+
119141
/**
120142
* Title of this column
121143
* @type any (string | slot)

0 commit comments

Comments
 (0)