Commit Graph

235 Commits (877718099e51f29f6fc505c584b67dd2ecc353a2)

Author SHA1 Message Date
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