Added ellipsis property to table column

This commit is contained in:
Rijn 2017-01-02 13:42:32 -06:00
parent 49bef31bd6
commit eedcba586c
3 changed files with 47 additions and 26 deletions

View file

@ -36,7 +36,8 @@
return [
`${this.prefixCls}-cell`,
{
[`${this.prefixCls}-hidden`]: !this.fixed && this.column.fixed && (this.column.fixed === 'left' || this.column.fixed === 'right')
[`${this.prefixCls}-hidden`]: !this.fixed && this.column.fixed && (this.column.fixed === 'left' || this.column.fixed === 'right'),
[`${this.prefixCls}-cell-ellipsis`]: this.column.ellipsis || false
}
];
}