Commit Graph

310 Commits

Author SHA1 Message Date
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
xuanfeng
0b2b803992 table: fix the wrong repository field 2017-02-19 20:35:16 +08:00
Liril
d220894e81 Table: Fix wrong header with fixed right columns. 2017-02-16 22:52:24 +08:00
Leopoldthecoder
3243b8fc98 Merge branch 'dev' into 1.2-merge1
# Conflicts:
#	package.json
#	src/utils/popup/index.js
#	yarn.lock
2017-02-09 17:33:42 +08:00
cinwell.li
c07609b840 Table: fix data is an array of numbers, fixed #2108 (#2576) 2017-02-04 15:59:06 +08:00
Leopoldthecoder
d888e44cc2 Publish
- element-carousel@1.0.0
 - element-table@1.0.0
 - element-upload@1.0.0
 - element-datepicker@1.0.0
 - element-loading@1.0.0
 - element-pagination@1.0.0
2017-01-23 17:20:52 +08:00
Leopoldthecoder
4d899d4a4d reset version number of Table and DatePicker 2017-01-23 16:17:16 +08:00
cinwell.li
9f5c08e6e6 Clean packages (#2345) 2017-01-23 14:06:01 +08:00
qingwei.li
4296c03d03 Table: fix sortable, allows cancellation sort 2017-01-18 14:14:34 +08:00
qingwei.li
bfb4c9c3f1 Table: fix columnKey, fixed #2322 2017-01-18 11:22:10 +08:00
baiyaaaaa
925ad817a7 Merge pull request #2405 from njleonzhang/revise_table_sort_api
revise table default sort api
2017-01-16 14:15:13 +08:00
baiyaaaaa
401be51f27 Merge pull request #2410 from njleonzhang/extends_sort_and_filter_area
#2324 extend sort and filter click area to th element
2017-01-16 14:12:09 +08:00
吴亮
39cbb051f1 fix eslint error, about indent 2017-01-16 11:30:31 +08:00
吴亮
cdb2335939 like as if (filterValue !== null) is better 2017-01-16 11:30:31 +08:00
吴亮
0b10d3e152 try to fix eslint: Strings must use singlequote quotes 2017-01-16 11:30:31 +08:00
吴亮
1b40caf855 fix eslint: Unary word operator 'typeof' must be followed by whitespace 2017-01-16 11:30:31 +08:00
吴亮
e5fa4acfcc revert 93c9c206e6121711798f1f3740ba45ed7a1a4793, and fix the bug by
typeof
2017-01-16 11:30:31 +08:00
吴亮
6362cbce30 fix select first element on table filter bug 2017-01-16 11:30:31 +08:00
njleonzhang
4f1fdb3c83 #2324 extend sort and filter click area to th element 2017-01-14 17:18:12 +08:00
njleonzhang
bc00ce0354 revise table default sort api 2017-01-14 14:51:44 +08:00
baiyaaaaa
5af2d39714 Merge pull request #2396 from QingWei-Li/fix/table/nodata-width
Table: fix body width when no data
2017-01-13 19:11:46 +08:00
baiyaaaaa
a2876ab8cb Merge pull request #2392 from QingWei-Li/fix/table/filteredValue
Table: missing filteredValue prop, fixed #2348
2017-01-13 17:49:30 +08:00
qingwei.li
8e36cee37c Table: fix body width when no data 2017-01-13 16:38:37 +08:00
baiyaaaaa
0e13dab680 Merge pull request #2372 from QingWei-Li/fix/table-fixed-column
Table: fix fixed column height when empty data, fixed #2300
2017-01-13 15:12:33 +08:00
qingwei.li
8961b318df Table: missing filteredValue prop, fixed #2348 2017-01-13 14:53:58 +08:00
baiyaaaaa
5246b170f4 Merge pull request #2309 from njleonzhang/fix_sortevent_bug
fix bug: default-sort-prop is not defined but trigger sort-change event
2017-01-12 22:38:22 +08:00
qingwei.li
9f94a28f43 Table: table-body revert to v1.1.2, fixed #2312 2017-01-12 20:19:04 +08:00
qingwei.li
8498656f68 Table: fix fixed column height when empty data, fixed #2300 2017-01-12 16:12:39 +08:00
njleonzhang
22cea4e6c4 fix bug: default sort doesnot dismiss 2017-01-11 09:48:09 +08:00
njleonzhang
59d1f49b1c fix bug: default-sort-prop is not defined but trigger sort-change event 2017-01-09 23:04:06 +08:00
baiyaaaaa
ad2a32dcd6 Merge pull request #2182 from njleonzhang/table_sort_A_and_D
table sort to toggle
2017-01-09 14:30:55 +08:00
kingwl
3e3001a8dc Table: fix header-align bug 2017-01-06 10:46:06 +08:00
njleonzhang
48a0685ca0 1. add document; 2. make default-sort-order default to ascending 2017-01-05 12:39:37 +08:00
Yuyang Liu
a3da161339 table: wrap col in colgroup to make column width work in safari 2017-01-05 10:42:31 +08:00
njleonzhang
9ef1faaec9 toggle sortable 2017-01-03 20:08:43 +08:00
Leon Zhang
dc0248279d messy indent (#2165) 2017-01-03 16:27:42 +08:00
Herrington Darkholme
23423e39e7 general: normalize name in default export 2017-01-01 01:11:21 +08:00
qingwei.li
923d9b6622 Table: fix test fix #2090 , remove virtual scrollbar 2016-12-30 11:12:13 +08:00
杨奕
bdd0604bd0 remove obsolete migrating hints (#2055) 2016-12-29 10:43:00 +08:00
baiyaaaaa
ea9e5ed462 Merge pull request #2045 from QingWei-Li/feat/table-expand-scoped-slot
Table: expand row feature only supports scoped slot.
2016-12-29 00:07:11 +08:00
Furybean
191c8ab3d1 Table: add current-row-key prop. 2016-12-28 19:18:53 +08:00
qingwei.li
4817e116e5 Table: expand row feature only supports scoped slot. 2016-12-28 18:12:37 +08:00
杨奕
d2f02b828f Merge branch 'dev' into 1.1 2016-12-28 15:23:51 +08:00
furybean
b569b314b8 Table: add expand row feature. 2016-12-28 15:18:25 +08:00
qingwei.li
2b096a5673 fix test 2016-12-26 20:33:08 +08:00
cinwell.li
05be27e162 Merge branch '1.1' into feat/ssr 2016-12-26 19:51:55 +08:00
杨奕
441f4c31a9 Table: remove highlight class after data change (#1977) 2016-12-26 16:07:14 +08:00
qingwei.li
a906a5fccb Add vue-popup and dom helper 2016-12-26 11:41:15 +08:00
qingwei.li
daec90af9f SSR feature 2016-12-26 10:45:20 +08:00
qingwei.li
547612bf6e update 2016-12-23 12:47:55 +08:00
kingwl
6f75ca6150 Table: support table sort (#1918) 2016-12-23 12:11:17 +08:00
qingwei.li
5aea5eced3 Add scrollbar 2016-12-23 12:09:17 +08:00
cinwell.li
339dada583 Feat/scoped slot table (#1844)
* Upgrade to vue 2.1.0

* Table: support scoped slots, resolve #1763, #1161

* Update vue version

* fix test

* fix test

* Update doc

* Fix english docs
2016-12-22 11:16:04 +08:00
kingwl
8648ab84dc Table: add header-align 2016-12-21 11:03:22 +08:00
Furybean
a0187d1aba Table: add filter change event & add column-key for column. 2016-12-20 18:37:31 +08:00
FuryBean
4614990cb4 Table: add column as third parameter for row-click event. (#1808) 2016-12-17 14:00:35 +08:00
baiyaaaaa
a5bdd2cabb component README update and fix 2016-12-16 10:57:54 +08:00
qingwei.li
3bf624c757 Table: add empty slot, closed #1737, closed #1730 2016-12-14 13:34:35 +08:00
Hashem Qolami
998dcce225 Feature table maxHeight (#1560) (#1674)
*  [Table] Added fluid height table with maxHeight prop (#1560)

* 🚨 [Table] Added test for maxHeight prop (#1560)

* 📚 [Table] Added the documentation of fluid-height table (#1560)
2016-12-13 16:21:59 +08:00
Pierre-Louis Renaudin
15dc895ee6 Add contextmenu event on table row element. (#1663) 2016-12-10 18:48:07 +08:00
Furybean
fed488ef9f Table: fix column[type=selection] style issue in ie9+. 2016-12-09 17:37:58 +08:00
FuryBean
2dd2c79365 Table: fix a style bug when fixed=right. (#1651) 2016-12-09 16:08:49 +08:00
杨奕
9ccb7b852f Table: add missing ElCheckbox (#1635) 2016-12-09 11:49:30 +08:00
Hashem Qolami
5cde77b37d 🐛 [Table] fixed incompatibility with vue-i18n (#1587) 2016-12-07 10:23:05 +08:00
baiyaaaaa
7a85d55f31 normalize transition class name 2016-12-03 19:30:21 +08:00
Furybean
e61ff12070 Table: fix column label not visible in some condition. 2016-12-02 17:43:46 +08:00
Furybean
0caa085523 Table: add row-dblclick event. 2016-12-02 17:43:21 +08:00
FuryBean
e2870f72f0 Table: fix update scrolly not working bug (#1519) 2016-12-02 17:36:19 +08:00
Furybean
812a953b1e Table: add row-style prop. 2016-11-25 17:41:07 +08:00
kingwl
a3f570789c Table: fix align attribute (#1338) 2016-11-24 18:34:02 +08:00
FuryBean
5c386d5ce8 Table: fix dynamic prop in table-column cause script error. (#1314) 2016-11-24 06:54:32 +08:00
FuryBean
2f3f5eabc1 Table: add header group feature. (#1312) 2016-11-23 20:32:23 +08:00
FuryBean
631037c296 Table: improve performance in large data. (#1298) 2016-11-23 18:24:32 +08:00
kingwl
e3ac607938 Table: fix selectAll option at table selection (#1300) 2016-11-23 18:23:50 +08:00
FuryBean
6353d33afe Table: fix a script error when show-header is true. (#1248) 2016-11-21 19:01:31 +08:00
qingwei.li
37510831ca Update: release script 2016-11-18 20:03:20 +08:00
FuryBean
07b8ec030f Table: fix selection-change not fire in some condition. (#1198) 2016-11-18 20:03:19 +08:00
furybean
0a31868b5f Table: add show-header prop & add header-click event & make height more reasonable. 2016-11-18 20:03:18 +08:00
cinwell.li
4ebdd6a6d4 Table: add context prop (#1161) 2016-11-18 20:03:18 +08:00
furybean
bd8bf7bf35 Table: fix fixed column won't disappear in some condition. 2016-11-18 20:03:17 +08:00
furybean
012c0185f2 Table: fix select-all checkbox is selected when all rows are not selectable. 2016-11-18 20:03:17 +08:00
qingwei.li
a13b49b609 Locale: fix dynamic change locale 2016-11-18 20:03:14 +08:00
Akira Komamura
d37e0dbd39 Add column class-name to the table header and update documentation (#1027)
* Table: Add className property to columns

* Table: update documentation on column class-name

* Table: Apply column class-name to table header
2016-11-13 14:39:24 +08:00
杨奕
bcbee7b472 Merge pull request #1016 from furybean/table-row-key
Table: render rows with row-key.
2016-11-13 11:49:09 +08:00
cinwell.li
cfafd3d191 Table: fix render fail in vue-loader 9.9.0 (#1018) 2016-11-13 11:44:29 +08:00
furybean
69d5646833 Table: render rows with row-key. 2016-11-13 11:41:21 +08:00
furybean
f27d433744 Table: fix hover effect is slow when data > 200. 2016-11-13 03:38:31 +08:00
furybean
2951e6843f Table: fire selection-change when row is removed. 2016-11-09 17:47:00 +08:00
qingwei.li
3c12100f52 Components: use es2015 export module, fixed #907 2016-11-08 15:01:00 +08:00
qingwei.li
47392d1e29 Locale: rename $t to t 2016-11-07 23:33:33 +08:00
FuryBean
971150c2fb Table: remove mouse wheel prevent default. (#873) 2016-11-07 11:58:01 +08:00
qingwei.li
70307dfadb fix package.json url 2016-11-06 12:26:14 +08:00
FuryBean
07cd230674 Fix Table Bug: body-wrapper should not set style.height when table not set height. (#839) 2016-11-05 07:31:18 +08:00
FuryBean
f013d6eb0b Table: add renderHeader prop. (#838) 2016-11-05 07:30:23 +08:00
furybean
aac3ec40c2 Table Column: watch more prop & rename showTooltipWhenOverflow. 2016-11-04 22:15:34 +08:00
FuryBean
b3a2f95545 Merge pull request #832 from QingWei-Li/fix/object-assign
Table/MessageBox/Tree: remove object-assign
2016-11-04 19:19:12 +08:00
qingwei.li
4a224adaa3 Table/MessageBox/Tree: remove object-assign 2016-11-04 18:44:19 +08:00
furybean
7263db12b3 Table: add single selection back. Add current-change event & highlight-current-row event. 2016-11-04 16:28:44 +08:00
杨奕
7f89199806 Merge pull request #815 from furybean/table-scroll
Table: support header mousewheel scroll.
2016-11-04 12:27:11 +08:00
furybean
ae1c9252c9 Table: clear selection after change data, fixed #813. 2016-11-04 11:44:39 +08:00
furybean
496f385796 Table: support header mousewheel scroll. 2016-11-04 11:38:44 +08:00