Commit Graph

362 Commits (5c4fef3777e9cc20a6f0dbaee00975d7cddaa784)

Author SHA1 Message Date
Ivan Seidel 2bafed0acc Table: Adds header rendering slot (#13012)
* Table: Adds header rendering slot

Fixes #4909 and #4908

* Add translation to spanish

* Include render-header deprecation warning

* Add chinese translation and scoped slot description at bottom

* Fix documentation and warnings. Fix custom-header docs

* Fix redundant columns and cleanup example

* Prevent scopedSlot from working on selection column

* Typo
2018-10-26 11:16:56 +08:00
hetech 6b76896c40
Table: called render header in index column (#12914) 2018-09-28 17:44:54 +08:00
Jikkai Xiao 4c24ddaf8e
Table: fix table filter (#12539) 2018-08-29 18:45:56 +08:00
Jikkai Xiao c5347b8064 Table: fix async filters (#12165) 2018-08-02 19:27:07 +08:00
Jikkai Xiao 4130f2af40 Table: add toggleAllSelection method (#12047) 2018-07-24 16:36:31 +08:00
Jikkai Xiao f23e45b404 Table: allow filterable without filter-method (#12045) 2018-07-18 19:28:44 +08:00
Jikkai Xiao ef4caa96cb
Table: support class-name when type=expand (#12006) 2018-07-16 17:10:43 +08:00
Jikkai Xiao 45241cbaa8
Table: changing current-row-key when current-row-key is assigned to null (#11866) 2018-07-05 11:09:16 +08:00
Jikkai Xiao b6eaaf6943
Table: disable filter when filters is an empty array (#11864) 2018-07-05 11:03:52 +08:00
杨奕 61756c5bd5 Table: update getRowClass (#11839)
* Table: setCurrentRow only when highlight-current-row is true

* Table: trigger current-change

* Table: update getRowClass
2018-07-03 15:44:28 +08:00
Jikkai Xiao 97a72d3af6
Table: fix highlightCurrentRow regression (#11691) 2018-06-21 16:14:06 +08:00
Jikkai Xiao 25ffe8c97e Table: fix class-name & label-class-name prop not reactive (#11626) 2018-06-14 17:07:00 +08:00
杨奕 e58cffaaa1
Table: fix highlightCurrentRow regression (#11563) 2018-06-10 20:44:59 +08:00
Jikkai Xiao 2b9be3c0fb Table: improve performance of summary-method (#11521) 2018-06-07 11:37:26 +08:00
hetech 465dcf2a19 Chore: retire lerna and remove redundant files (#11493)
* Chore: retire lerna and delete redundant files

* Chore: update Makefile
2018-06-05 19:27:13 +08:00
Jikkai Xiao 8c1b4d827d Table: retain currently selected row when expanding row (#11464) 2018-06-04 11:34:37 +08:00
Jikkai Xiao b726aa0265 Table: retain currently selected row when sorting the table. (#11348) 2018-05-25 17:47:27 +08:00
Jikkai Xiao f18bbeb473 Table: support manually sorting. Resolves #9495 (#11311)
* Table: support manually sorting. Resolves #9495

* Table: add parameters for sort api

* Docs: improve docs
2018-05-24 18:01:02 +08:00
Jikkai Xiao df7bbe2ba4 Table: fix oversized filter list. Resolves #11314 (#11320) 2018-05-24 11:57:42 +08:00
杨奕 0b2a1eb784 Table: add sort-orders (#11283) 2018-05-22 18:20:04 +08:00
杨奕 696beba0b9
Table: showOverflowTooltip compatibility with IE11 (#11225) 2018-05-18 13:18:22 +08:00
刘昆 c6e9cdac88 Table: update expandRows when setData (#11186)
* Table: update expandRows when setData.

Fix a bug that after set new table data, the expanded cells will not
be able to unexpand.

* Update table-store.js
2018-05-16 18:15:45 +08:00
杨奕 6289144d84
Table: optimize tooltip logic (#11137) 2018-05-13 11:47:19 +08:00
杨奕 f4d2f14788
Table: use Range to determine text overflow (#11124) 2018-05-11 18:09:28 +08:00
杨奕 1ff01a77f9
Table: fix an undefined issue in ssr (#11109) 2018-05-10 17:03:03 +08:00
杨奕 8d6a2a4555
Table: update columns width after filter (#10834) 2018-04-23 11:48:11 +08:00
杨奕 583439a4be
Table: add $index as formatter's param (#10645) 2018-04-10 16:15:09 +08:00
Harlan 5b41b1a789 Table: update resizeState when updateColumnsWidth (#10338) 2018-04-09 09:58:36 +08:00
杨奕 3c8a6e8e30
Table: fix filter panel reference element to the trigger span (#10384) 2018-03-27 15:01:57 +08:00
杨奕 1449bfc0b9
Table: filter-panel should hide when new one shows (#10373) 2018-03-27 10:11:59 +08:00
杨奕 d479ea9789
Table: fix wrapper width of fixed table (#10291) 2018-03-22 11:40:36 +08:00
杨奕 38e9b6eca6
Table: update column width before updating height (#10236) 2018-03-19 18:21:11 +08:00
syn-zeta e36d57ac1d Table: Add selectOnIndeterminate prop to control master checkbox behavior (#9924) 2018-03-16 19:00:28 +08:00
Harlan a848b26495 Table: fix column formatter not changed when new formatter is set (#10184) 2018-03-16 11:04:44 +08:00
杨奕 c48a69c947
Table: added scss variable $--table-border-color (#10179) 2018-03-15 11:43:38 +08:00
FuryBean 9f09bd3b57 Table: fix fixed column style on safari (#10130) 2018-03-13 10:36:15 +08:00
杨奕 74eaaf7eca
Table: shouldUpdateHeight should be true when maxHeight is set (#10034) 2018-03-06 18:28:44 +08:00
杨奕 da2c87a03d Table: calc layout after row expansion changes (#9848) 2018-02-26 16:13:33 +08:00
杨奕 6dbbee35e6
Table: fix js pending in ssr (#9876) 2018-02-24 13:13:05 +08:00
杨奕 fa116490e3
Chore: update .eslintignore (#9694) 2018-02-06 17:08:08 +08:00
FuryBean 580aaaa3f9 fix table will crash when initial columns is empty (#9666) 2018-02-05 19:22:24 +08:00
FuryBean f255c8786e Table: fix summary row drifting when horizontal scrollbar exists (#9667) 2018-02-05 19:14:20 +08:00
FuryBean e129447126 Table: fix do layout in some conditions (#9668) 2018-02-05 19:11:06 +08:00
杨奕 471b8ff4cf
Table: initial value of height can be 0 (#9660) 2018-02-05 11:31:08 +08:00
杨奕 645b30f1c7
Table: stop expansion click from bubbling (#9654) 2018-02-04 15:25:04 +08:00
杨奕 896cbb6323
Table: update selection isAllSelected (#9634) 2018-02-03 16:08:13 +08:00
FuryBean ab2f3830d6 Table: extend height prop usage (#9575) 2018-01-31 13:32:01 +08:00
FuryBean 9b9384214b Table: improve performance (#9426)
* improve table render time in some condition

* Update table.vue
2018-01-30 20:37:23 +08:00
FuryBean b27f340561 Table: change argument selection to cloned array in selection-change event (#9551) 2018-01-30 20:13:35 +08:00
杨奕 ba284c72d7
Table: add disabled state to multiple selection header checkbox (#9543) 2018-01-30 12:02:20 +08:00
syn-zeta ca02cb9cd3 Table: add indeterminate state to multiple selection header checkbox (#9363)
* Table: Add indeterminate and disabled state to multiple selection header checkbox

* Remove disabled state handling of select-all checkbox
2018-01-30 10:36:36 +08:00
Pyae Hein d5c135730a Added contextmenu event for column header (#9475) 2018-01-29 18:42:05 +08:00
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