Commit Graph

310 Commits

Author SHA1 Message Date
FuryBean
cfa9e6fc61 Table: fix expanded rows collapsing when data change (#9462) 2018-01-28 16:16:57 +08:00
FuryBean
bbe6e62ee1 Table: forward fixed column's mousewheel event to entire table (#9323) 2018-01-26 15:38:46 +08:00
FuryBean
fceaa74de6 Table: checkbox selection not trigger row-click event (#9467) 2018-01-26 11:13:47 +08:00
xiong hanbiao
d641360605 Table: fix multi-header remove column (#9377) 2018-01-22 14:51:08 +08:00
FuryBean
990df4ed5b Table: fix table column width bug in safari & hide shadow of fixed when scrollX is false (#9327) 2018-01-18 17:17:40 +08:00
liyl
ee5cd93db3 Table: add column as filter-method's param (#9196)
* expand filter-method param

* update table.md
2018-01-15 12:25:53 +08:00
Daniel Li
b10ecc94ad Table: update selection after filtering (#9207) 2018-01-14 19:35:12 +08:00
Anatoly Kolesov
e15c7e0d63 Table: declare column length vars in store init (#9188)
* spread -> merge

* Update table-store.js
2018-01-10 20:06:58 +08:00
zhangyaodan
8f10ba50f2 Table: fix sort not working after clearSort (#9100) 2018-01-07 12:15:52 +08:00
cinwell.li
be3dcbfc4c chore: update ESLint (#9124)
* chore: update ESLint

* chore: update eslint ignore
2018-01-05 16:53:02 +08:00
Clark Du
1ad4b89ce2 refactor: fix some code issues (#6945)
* Table: remove condition due to rows has been accessed prior

* Table: change el-tooltip style to object

Signed-off-by: Clark Du <clark.duxin@gmail.com>
2018-01-04 16:00:47 +08:00
liril
8d9aaac41f fix: Fix wrong max height in fixed table 2017-12-28 16:32:59 +08:00
Akiho Nagao
8d15a86df2 Table: Add eventListener option passive 2017-12-23 21:35:28 +08:00
Leopoldthecoder
c69adb0458 publish independent packages 2017-12-20 11:52:49 +08:00
xifeiwu
13855f6c65 fix: the width prop of el-table-column is invalid when it is 0 (#8861)
* fix: the width prop of el-table-column is invalid when it is 0

* Update table-column.js
2017-12-17 18:20:00 +08:00
Leopoldthecoder
66dd670a53 Table: replace sorting arrow icons with borders to avoid overlap 2017-12-12 19:27:46 +08:00
hejinming
0e478016be Table: fix table-column order disorder when made the assembly again 2017-12-12 11:47:40 +08:00
Leopoldthecoder
ace0d05791 Table: expand column supports label 2017-11-27 18:35:49 +08:00
Leopoldthecoder
7a4ec97f0d Chore: misc updates 2017-11-26 16:57:41 +08:00
hejinming
94d737fb4a Table: fix el-table-column 'hover-row' class error when expend column embed el-table 2017-11-22 11:44:27 +08:00
Leopoldthecoder
23e86bcf1a Table: fix high CPU consumption 2017-11-17 12:28:55 +08:00
Ryan.xu
292ad8efec Table: fix table column show-overflow-tooltip bug
Table: fix table column show-overflow-tooltip bug, low version Firefox without innerText, add textContent
2017-11-15 14:10:28 +08:00
lyh2668
4f00d7dea8 Update table-body.js
添加一个this.$refs.tooltip是否存在的判断
2017-11-15 10:54:19 +08:00
Leopoldthecoder
9611079d4d Table: sort arrow nostalgia 2017-11-12 21:03:34 +08:00
Leopoldthecoder
c1155b3be0 Table: avoid doLayout continuous executing 2017-10-31 18:46:35 +08:00
wangfengming
877718099e Table: support sort-by. can't sort if sort-by is null 2017-10-31 11:35:40 +08:00
wangfengming
f642294949 Table: support sort-by, use isArray to test sortBy 2017-10-31 11:35:40 +08:00
wangfengming
0a24f05125 Table: support sort-by, use isArray to test sortBy 2017-10-31 11:35:40 +08:00
wangfengming
7074a247f4 Table: support sort-by 2017-10-31 11:35:40 +08:00
Leopoldthecoder
768981c1aa Changelog: update for 2.0.0-rc.1 2017-10-25 05:47:57 -05:00
Cyril Su
25e8503d65 Carbon: Table add features and fix bugs (#7682)
* Table: Fix error in calculate `totalFlexWidth`

* Table: Fix error in caculate `scrollX`

* Table: Watch `max-height` change

* Table: Change `toggleRowExpanded`

* Table: Support `obj[key]`

* Table: Update docs for `toggleRowExpanded`

* Table: Add style and class control for every row and cell

* Table: Add `migrating` mixin for `expand`

* Table: Update test spec

* Table: Add `index` in `table-column` for custom index
2017-10-25 02:35:12 -05:00
Leopoldthecoder
333a010d3b Table: add size 2017-10-25 01:41:17 -05:00
lirilsu
1310bdee26 Table: Remove sort-clear and filter-clear event 2017-10-20 02:19:45 -05:00
lirilsu
8c78dc1082 Table: Update docs for carbon table 2017-10-20 02:19:45 -05:00
lirilsu
0ca040fb42 Table: Render default slot in table-column to get a correct columnRows 2017-10-20 02:19:45 -05:00
lirilsu
fa494b1952 Table: Trigger doLayout when display from none to others 2017-10-20 02:19:45 -05:00
lirilsu
999db14732 Table: Move append slot out of table-body 2017-10-20 02:19:45 -05:00
lirilsu
f6f61bcbde Table: Add class to expanded row 2017-10-20 02:19:45 -05:00
lirilsu
f347657651 Table: Table: Remove render default in table-column 2017-10-20 02:19:45 -05:00
lirilsu
00c5028d8d Table: Expand rows when set expand-row-keys 2017-10-20 02:19:45 -05:00
lirilsu
ec182424ad Table: Add clear sort 2017-10-20 02:19:45 -05:00
lirilsu
26a8c222b1 Table: Add clear filter 2017-10-20 02:19:45 -05:00
lirilsu
8e09988918 Table: Add spanMethod to support rowspan and colspan 2017-10-20 02:19:45 -05:00
lirilsu
d8dd114a16 Table: Fix error in cacluating hidden in table-header and table-body 2017-10-20 02:19:45 -05:00
lirilsu
ba3315a728 Table: Filter data again when change data 2017-10-20 02:19:45 -05:00
lirilsu
cb993a6487 Table: Change sort method to match built-in Array#sort 2017-10-20 02:19:45 -05:00
Leopoldthecoder
f0b7debd23 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	CHANGELOG.en-US.md
#	CHANGELOG.zh-CN.md
#	examples/app.vue
#	examples/docs/en-US/switch.md
#	examples/docs/zh-CN/switch.md
#	examples/versions.json
#	package.json
#	packages/switch/src/component.vue
#	packages/theme-default/package.json
#	packages/theme-default/src/common/var.css
#	packages/theme-default/src/switch.css
#	src/index.js
2017-10-16 18:33:41 +08:00
Brad Adams
0de6b447e5 Table: Add important rule to col-resize cursor (#7381)
* Table: Add `important` rule to `col-resize` cursor

* Table: Add `important` rule to `col-resize` cursor

* Update table-header.js
2017-10-09 07:07:10 -05:00
杨奕
21c579179c remove theme-default (#7273) 2017-09-28 05:01:29 -05:00
Leopoldthecoder
a35ab0bb03 Autocomplete: support scoped slot as custom template 2017-09-25 06:44:03 -05:00
Black Wayne
1ba90b9534 Table: add chalk theme (#7059)
* Table: add chalk theme

* Table: add group header & other

* Table: del package.lock

* Table: del single test trace

* Table: fix border problem

* Table: fix boder problem

* Table: clean css

* Table: footer border right - -|
2017-09-22 01:30:44 -05:00
Leopoldthecoder
678cf1103f Table: fix single filter active state 2017-09-17 07:51:39 -05:00
Leopoldthecoder
fece184c64 Table: sortable header discoverability 2017-09-06 12:42:01 +08:00
Leopoldthecoder
3a005ef5da Table: fix undefined popper 2017-08-30 10:28:25 +08:00
Leopoldthecoder
48135c7c50 Table: fix toFixed parameter overflow 2017-08-25 13:32:48 +08:00
Prasino
931f75474e Table: fix scroll delta check bug (#6581)
* Table : fix summary scroll delta check bug
bug description: when scroll event triggered in footerWrapper,it's not event.deltaX that changed, it's event.deltaY.

* Table : fix summary scroll delta check bug
bug description: when scroll event triggered in footerWrapper,it's not event.deltaX that changed, it's event.deltaY.

* Table: fix wheelEvent check bug

* Update table.vue

* Update table.vue
2017-08-19 22:29:15 +08:00
Leopoldthecoder
0966662dc0 Table: allow omitting prop if sort-method is provided 2017-08-09 11:52:27 +08:00
Leopoldthecoder
aae78193f9 Table: hide table when nested in an invisible container 2017-08-09 11:52:27 +08:00
Leopoldthecoder
40a873e93e Select: add value-key 2017-07-20 12:37:04 +08:00
rt_eastlv
e3f5673487 Table:修复取不到selection的BUG 2017-07-20 11:51:40 +08:00
helondeng
92d6008802 Table: add value as formatter parameter (#5709)
* 添加接口计算原来的列值

* export old value of column in formatter function

* Update table-column.js

* Update table-column.js
2017-07-15 17:00:36 +08:00
song
4e073d1bb1 Table: row-key support for multi-level props(#5607)
* Let getRowIdentity simply support the _.get method similar to lodash.

* Complete doc

* Update table.md

* Update table.md
2017-07-02 20:24:57 +08:00
Flyn
b74ccda118 Table:fix table support for IE9 2017-07-02 20:05:18 +08:00
Harlan
8be103aef1 Fix issue 5340 2017-06-23 14:41:31 +08:00
杨奕
c0dd2f562c Table: fix hidden summary row with async data (#5318) 2017-06-15 21:30:12 +08:00
杨奕
4306672116 Table: fix incorrect expression (#5109) 2017-05-30 00:49:24 +08:00
杨奕
5257b1ede8 Table: fix wrong stripe style with expandable rows (#4873) 2017-05-21 14:08:23 +08:00
暮雨
3fb5131d64 Table: fix #4692
table[highlight-current-row] with column[type=expand] will highlight wrong row
2017-05-15 18:21:46 +08:00
Leopoldthecoder
d338372979 Table: fix table body height calculations 2017-05-10 19:53:59 +08:00
Leopoldthecoder
2fbe685506 Table: fix summary row scroll 2017-05-06 17:37:28 +08:00
任侠
b269c22bba table: set width for each td>div.cell.el-tooltip element(#2198,#3128) 2017-05-05 08:06:02 +08:00
white.wang
22c65df30f Table: Add filter-placement for table filter Popper; If the column is too wide, the popper's position will be improper;
https://jsfiddle.net/whitewang/obpsLcva/7/
2017-05-03 14:24:31 +08:00
white.wang
324f541c76 Table: Add filter-placement for table filter Popper; If the column is too wide, the popper's position will be improper;
https://jsfiddle.net/whitewang/obpsLcva/7/
2017-05-03 14:24:31 +08:00
杨奕
349894d107 Table: add summary row, fixed #1307, fixed #4451 (#4484) 2017-04-28 15:53:39 +08:00
Leopoldthecoder
45043754df update dependencies 2017-04-28 14:09:25 +08:00
杨奕
91476e5c79 Table: add setCurrentRow (#4390) 2017-04-22 01:11:32 +08:00
pengchongfu
32543f3671 Table: manage tooltip state better, fixed #4044 2017-04-19 18:27:49 +08:00
杨奕
a02c6ed3c2 Table: fix a handleClosePopper bug, fixed #3888 (#4085) 2017-04-12 11:26:45 +08:00
Liril
d184e9c0b6 Table: Add silent for filter-chagne 2017-04-07 18:55:59 +08:00
Liril
d652e73f74 Table: init filters. 2017-04-07 18:55:59 +08:00
liyl
29162c76f1 Table: Fixed #3896 (#4023)
* Table: Fixed #3896

* Table: fixed filter-panel format

* Table: fixed filter-panel.vue
2017-04-07 13:52:38 +08:00
pengchongfu
3bb5b5e7d4 Table: delete duplicate declaration "ElTooltip", fixed #4046 (#4047) 2017-04-06 21:44:33 +08:00
qingwei.li
646b521085 Table: hide tooltip when it is destroyed, fixed #3836 2017-04-06 17:14:34 +08:00
qingwei.li
a2a0095167 Table: add tooltip component, fixed #3888 2017-04-06 17:14:34 +08:00
qingwei.li
cb0a60066b Table: improveper formance for init tooltip, fixed #3836 2017-04-06 17:14:34 +08:00
xhd
f9d8a0e03f fixed #3800
https://github.com/ElemeFE/element/issues/3800 fixed
2017-04-04 15:32:29 +08:00
Jared Fraser
83ed9513ea TableBody: Tooltip used but not imported. (#3973)
* Defined the tooltip component

* Removed component alias
2017-04-03 22:01:24 +08:00
Liril
d233a16821 Table: Hack for dynamics change columns. 2017-04-01 14:07:45 +08:00
cinwell.li
a3273188e7 Table: improve performance for rendering tooltip, fixed #3478 (#3836)
* Table: improve performance for rendering tooltip, fixed #3478

* Table: add tooltip-effect property
2017-03-29 11:59:12 +08:00
Liril
5f5ae1408e Table: Change debounce invoke atBegin. 2017-03-28 15:05:17 +08:00
Cyril Su
c31f19a4e8 Table: Fixed wrong height. (#3539) 2017-03-18 08:40:01 +08:00
张韧
b29ce95b81 add labelClassName 2017-03-09 17:05:55 +08:00
Leopoldthecoder
e4fe26840f update upload doc and add arrow click sorting for table 2017-03-09 12:21:13 +08:00
Cyril Su
5e796ca33b Table: Add handleEvent. (#3305) 2017-03-06 18:45:27 +08:00
qingwei.li
5b84df01be Table(doc): remove context prop 2017-02-28 17:28:37 +08:00
Cyril Su
537e1e035c Table: Fix wrong fixed height temporary. (#3019) 2017-02-24 17:51:15 +08:00
Liril
7651d2532d Table: Add header-dragend. 2017-02-23 14:57:20 +08:00
Cyril Su
f1913d991d Table: Fix wrong height when switch prop height. (#2979) 2017-02-23 11:31:25 +08:00
Cyril Su
f1c44858e7 Table: Add cell-dblclick. (#2983) 2017-02-23 11:30:55 +08:00
Liril
651fb58988 Table: Remove extra render in cells. 2017-02-22 15:30:21 +08:00