Commit Graph

126 Commits

Author SHA1 Message Date
Wei Zhu
8a6d9b92b7 Improve table types
Fix #10374
2018-05-07 12:32:26 +08:00
愚道
013df45a70 merge https://github.com/ant-design/ant-design/pull/10306 from feature-3.5.0 2018-05-03 16:58:50 +08:00
Ash Kumar
013932e6d3 Feature: (Issue 10213): Column 'sorter' function is passed 'sortOrder' as param (#10306)
* Table Column's sorter prop can now be provided a fn to which 'sortOrder' is passed as param

* head.md: added documentation for new use of 'sorter' prop function
2018-04-29 22:08:28 +08:00
afc163
15c6d58796 Table getCheckboxProps should be updated when rerender
close #10133
2018-04-22 15:19:04 +08:00
Terence
4458f3dde1 Fix missing key of column.title in Table (#9658) (#9670) 2018-03-14 17:46:56 +08:00
zhuyue
ed70ba694e Merge branch 'feature-3.3.0' 2018-03-11 14:50:25 +08:00
Camol
2aed46012e [feature]: add native Event - related to #9368 (#9376)
* [feature]: add native Event - related to #9368

* update tests and rc-checkbox's version
2018-03-09 15:16:57 +08:00
Wei Zhu
f78e0098fa Improve Radio/Checkbox type definition
Close #9574
2018-03-08 20:39:34 +08:00
SimpleFrontend
9073237e70 Added selectionColumnWidth to TableRowSelection (#9474)
* Added selectionColumnWidth to TableRowSelection

* Updated documents

* Renamed selectionColumnWidth to columnWidth
2018-03-05 18:23:01 +08:00
Camol
ae2990e241 feature: [Table] Pagination on the top in addition to the bottom. fix… (#9357)
* feature: [Table] Pagination on the top in addition to the bottom. fix (#9346)

* refactor pagination of table (#9357)

* specify the position of pagination when using table  - add test

* specify the position of pagination when using table - update API docs

* update api docs

* fix error

* add TablePaginationConfig extends PaginationProps
2018-03-02 12:00:28 +08:00
Wei Zhu
f1fd85780e Revert "fix type of column dataIndex (#9298)"
This reverts commit f8e996ee8e.

Close #9393
2018-02-22 15:56:37 +08:00
Wei Zhu
7d5db31e67 Fix table custom spin indicator
Fix #9355
2018-02-14 12:56:22 +08:00
afc163
2909e5f651 Fix sorter icon click area overflow in Table
close #8979
2018-02-09 15:50:08 +08:00
Leo
f8e996ee8e fix type of column dataIndex (#9298) 2018-02-07 20:26:03 -06:00
mgrdevport
5fd741bf21 Pass name prop down to the table selection input (#9054) 2018-01-31 01:07:53 -06:00
sallen450
a9562e75fe Fix(Table): Hide emptyType in Table when loading prop is true (#9095)
* fix(Table): Hide text in  when  prop is true

* test(Table): renders empty table without emptyText when loading

* refactor: code style
2018-01-26 09:30:11 -06:00
afc163
63c620240b emptyText should support function, close #8871 2018-01-11 23:17:44 +08:00
Wei Zhu
a64337748a Fix table row create on every render.
Fix #8283
2017-11-22 17:27:32 +08:00
Wei Zhu
5cb5a2ae9d Fix implicit any error for Table 2017-11-21 14:22:35 +08:00
Wei Zhu
22e5c0d954
Allow fix table selection column (#8195) 2017-11-18 23:46:24 +08:00
Wei Zhu
67336fca7b Rename TableRow to BodyRow 2017-11-18 00:36:22 +08:00
Wei Zhu
5970dbb1ec Fix table row selected className
Close #8074 #8075
2017-11-18 00:03:30 +08:00
Wei Zhu
f78d33ed59
Update rc-table (#8187)
* Update rc-table

* Add table drag sorting demo
2017-11-17 18:53:07 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Graeme Yeates
8395de01a2 Add support for column defaultSortOrder (#6449) (#8111)
Fixes #6449
2017-11-09 19:30:24 +08:00
Benjy Cui
e5699aff68 fix: should not import moment while useless, close: #8013 2017-10-26 10:50:18 +08:00
afc163
3f57d5f56d Merge branch 'master' into antd-3.0 2017-10-23 10:41:51 +08:00
afc163
86da4a95ce Fix lint 2017-10-21 20:06:12 +08:00
Benjy Cui
7ea572bfc8 refactor: extract common locale logic (#7915) 2017-10-20 14:54:38 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
a4a0816e5a code indent 2017-10-08 17:58:42 +08:00
Benjy Cui
829b5f87bf feat: make default locale to enUS (#7553)
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
feng zhi hao
58fd54e978 fix: Table not trigger custom selection onSelect when hideDefaultSelections is true (#7653) 2017-09-18 20:56:19 -05:00
爱but的苍蝇
644891f8f6 add Table scroll typings (#7640) 2017-09-17 15:44:01 +08:00
Wei Zhu
1547b889b7 Revert "Add support for table default sort order" (#7414) 2017-09-01 14:40:29 +08:00
偏右
a7200c906c Add hideDefaultSelections (#7342)
close #7295
2017-08-27 15:44:22 +08:00
Graeme Yeates
d21523ef8c Use classNames to set ant-column-sort Table attribute 2017-08-07 10:40:34 +08:00
Graeme Yeates
40e94945d9 Add support for table default sort order (#6449) 2017-08-07 10:40:34 +08:00
Benjy Cui
119d498935 chore: replace http with https, close: #6893 2017-07-19 14:00:11 +08:00
paranoidjk
ba168b826f refactor: use spread operator replace object-assign (#6677) 2017-07-03 16:57:11 +08:00
sojournerc
e2a99f53f7 add ClickEvent to Table.props.onRowClick interface 2017-06-20 17:29:46 -06:00
Jordan Hornblow
51655e2e7c Allow Number type table keys. Make notification success, error, info, warn and warning non-optional (#6434)
* Allow Number type table keys. Make notification success, error, info, warn and warning non-optional

* Fix build error
2017-06-13 14:43:19 +08:00
Wei Zhu
baa8e23280 Pass className to table's pagination
fix #6416
2017-06-12 11:35:29 +08:00
afc163
55fc44aba4 fix table wrapper node null, #6245 2017-05-24 16:16:42 +08:00
afc163
54c6b63e9f Fix table filter menu overflow issue, close #6245 2017-05-24 12:17:40 +08:00
afc163
93f7fd1c98 update table selection text and add select all demo 2017-05-03 16:19:12 +08:00
Manjit Kumar
4e055ed5d0 use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
 - Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
 - Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
afc163
03c5689db6 tweak code style 2017-03-28 15:00:19 +08:00
feng zhi hao
78bdbbfe93 fix: improve rowSelection.selections of Table (#5409)
* improve rowSelection.selections of Table

* fix classNames spell error

* update class name
2017-03-24 11:44:36 +08:00
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00