This commit is contained in:
tangjinzhou 2020-03-28 17:09:56 +08:00
commit fd87f77d7b
2 changed files with 24 additions and 2 deletions

View File

@ -160,7 +160,7 @@
"vue-router": "^3.0.1",
"vue-server-renderer": "^2.6.11",
"vue-template-compiler": "^2.6.11",
"vue-virtual-scroller": "^0.12.0",
"vue-virtual-scroller": "^1.0.0",
"vuex": "^3.1.0",
"webpack": "^4.28.4",
"webpack-cli": "^3.2.1",

View File

@ -21,6 +21,15 @@ export declare class Column extends AntdComponent {
* @type string
*/
align?: 'left' | 'right' | 'center';
/**
* ellipsize cell content, not working with sorter and filters for now.
* tableLayout would be fixed when ellipsis is true.
* @default false
* @type boolean
*/
ellipsis?: boolean;
/**
* Span of this column's title
@ -33,6 +42,12 @@ export declare class Column extends AntdComponent {
* @type string
*/
dataIndex?: string;
/**
* Default filtered values
* @type string[]
*/
defaultFilteredValue?: string[];
/**
* Default order of sorted values: 'ascend' 'descend' null
@ -115,7 +130,14 @@ export declare class Column extends AntdComponent {
* @type boolean | string
*/
sortOrder?: boolean | SortOrder;
/**
* supported sort way, could be 'ascend', 'descend'
* @default ['ascend', 'descend']
* @type string[]
*/
sortDirections?: string[];
/**
* Title of this column
* @type any (string | slot)