Commit graph

12 commits

Author SHA1 Message Date
呼啸随风
e7f2801b5e
fix last column resize bug when no data
If a table has heigth and last column is auto width

let width = ''
// is_last_column, true && top_always_true && height_set_by_user, true
if ( this.columns.length === index + 1 && top && this.$parent.bodyHeight !== 0) {
// width will be 0 + this.$parent.scrollBarWidth === this.$parent.scrollBarWidth
// so last column will be 10~20px(the width of scrollBar)
}
there is an example with iview@2.8.0
[gist](https://gist.github.com/anonymous/e04e86c9e99d4d1e97bf327769acd345)
[demo on jsbin](http://jsbin.com/soqogagiqu)
2018-01-09 10:22:17 +08:00
梁灏
51356c2cd2 fixed #658 2017-07-19 15:09:15 +08:00
梁灏
891700ae0c update Table
update Table
2017-01-12 16:21:38 +08:00
梁灏
c211f71778 Table data support to set cell className
Table data support to set cell className
2017-01-10 18:36:13 +08:00
梁灏
f9f1865ca5 Table columns add className
Table columns add className
2017-01-10 16:33:44 +08:00
梁灏
a404bbaed3 update Table #167
update Table
2017-01-05 14:10:08 +08:00
梁灏
3d6fa54b39 update Table
update Table
2017-01-05 13:15:26 +08:00
jingsam
b0893113b3 🎨 add eslint 2016-12-25 22:49:42 +08:00
梁灏
224a3ae539 publish 0.9.9-rc-3
fixed Table width bug when resize window
2016-11-30 16:12:10 +08:00
梁灏
5e7a3b293b publish 0.9.9-rc-2
fixed Table autowidth
2016-11-30 14:56:32 +08:00
梁灏
5d0499ce1e update Table
update Table
2016-11-30 13:17:55 +08:00
梁灏
0d13646576 update Table
update Table
2016-11-24 15:27:46 +08:00