Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Mar 28, 2020
2 parents 7cbe6b4 + 37441a9 commit fd87f77
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down
24 changes: 23 additions & 1 deletion types/table/column.d.ts
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fd87f77

Please sign in to comment.