Benjy Cui
8f81594f91
Refactor: introduce injectLocale ( #5289 )
...
* refactor: extract injectLocale and refactor Pagination, ref: #5103
* refactor: use injectLocale in Popconfirm, ref: #5103
* refactor: use injectLocale in TimePicker
* refactor: use injectLocale in Transfer
* refactor: use injectLocale in TreeSelect
* refactor: remove useless code in AutoComplete
* test: update snapshot
2017-03-17 15:23:25 +08:00
Wei Zhu
fee429909f
Change to correct page when table data changes ( #5277 )
...
Fix #5259
2017-03-16 23:01:13 +08:00
Wei Zhu
557f40aec4
Use a constant to avoid creating new object
...
Ref #5300
2017-03-14 19:52:59 +08:00
Wei Zhu
f567342d95
Fix grouping column table sort and filter in controlled mode ( #5211 )
...
Close #5158
2017-03-10 14:52:28 +08:00
Wei Zhu
c037abab6a
Align table checkbox ( #5183 )
...
* Align table checkbox
* Don't select Item
* I18n selection text
* Update snapshot
2017-03-06 17:14:34 +08:00
Wei Zhu
67bbae9ea8
Merge branch 'feature-2.8'
2017-03-05 21:34:57 +08:00
偏右
3cf056b010
percise the rowKey warning message
2017-03-05 18:35:49 +08:00
Wei Zhu
570e2ce1dc
Check if Table[pagination] exist
...
When pagination is null, a error "Cannot use 'in' operator to search for 'current' in null"
will raise.
2017-03-02 11:31:56 +08:00
afc163
376806dab8
Merge from "master"
2017-02-26 18:45:16 +08:00
feng zhi hao
6d903a6ba5
add custom selection in Table ( #4962 )
...
* add custom selection in Table
* update snapshots
* update snapshots again
* optimize selection in Table
* update test
* update snapshots
* improve test
* fix test
2017-02-23 19:29:47 +08:00
afc163
a7c6c027ce
Fix ts definition of Table & RangePicker
...
close https://segmentfault.com/q/1010000008423156
2017-02-23 12:51:40 +08:00
afc163
a9a564779e
Merge from "master"
2017-02-20 12:18:41 +08:00
afc163
c1f3b58b28
Fix table wrapper float layout, close #4945
2017-02-20 11:36:56 +08:00
Benjy Cui
b7519a65c0
fix: should clear float, close : #4945
2017-02-20 11:31:51 +08:00
afc163
6e4fae0e29
remove onChange functions in Table.onChange(pagination)
2017-02-19 13:55:36 +08:00
afc163
b34557ef17
Fix Table pagination.onChange arguments
...
react-component/pagination#58
2017-02-19 13:50:20 +08:00
afc163
bd6bc70302
Rollback #4869 for better loading animation, close #4934
2017-02-18 14:58:47 +08:00
偏右
4c0af2ba1f
refactor: reduce table nested level ( #4869 )
...
* reduce table nested level, #4868
* update table snapshot
2017-02-16 15:36:34 +08:00
Benjy Cui
63476d0bc0
Merge branch 'master' into feature-2.8
2017-02-14 10:56:33 +08:00
lixiaoyang
d05a03fe00
feat: Table的loading可以使用Spin的属性 ( #4824 )
...
* Table的loading可以使用Spin的属性
* Test
* Fix
* test
2017-02-13 15:48:08 +08:00
Warren Seymour
7010dd018d
Add 'middle' as a valid value for Table.props.size
( #4819 )
2017-02-09 22:43:58 +08:00
Wei Zhu
f84dfbbaa9
Fix table filter in JSX ( #4765 )
...
Fix #4759
2017-02-08 14:43:00 +08:00
afc163
a585f603d0
Fix Table selection page-jumping issue, close #4779
2017-02-07 21:09:51 +08:00
afc163
94f5a07f68
Add rowKey link into console warning message
2017-02-07 15:32:44 +08:00
Wei Zhu
823ac6c139
fix TableColumnConfig exporting, #4660
2017-01-20 16:08:20 +08:00
afc163
fae7fd1658
Fix default value of Table showHeader, close #4658
2017-01-20 11:34:08 +08:00
afc163
3f5aebe85b
Fix Table column.filteredValue null problem, ref #4550
2017-01-10 20:52:53 +08:00
afc163
1c493ad798
Fix error when Table[pagination] change, close #4532
2017-01-09 20:49:00 +08:00
afc163
7548f2068f
remove comment
2017-01-09 19:35:41 +08:00
陆离
e36039acf8
chore: Spinning Pagination of table while loading ( #4462 )
...
* Spinning Pagination of table while loading
- close #4461
* update snapshots of table
2017-01-04 18:43:11 +08:00
Wei Zhu
29e4717fe3
Fallback table record key to data index. ( #4397 )
...
In last PR #4185 , we removed data index from record key, it
leads to inconformity behavior.
2016-12-30 13:50:11 +08:00
afc163
668c481110
Fix table radius without column header, close #4373
2016-12-27 18:24:30 +08:00
Wei Zhu
8018529582
Ensure checkbox props cache is cleared after dataSource changes. ( #4288 )
...
Fix #4245
2016-12-19 21:10:06 +08:00
Benjy Cui
1351b5da5d
refactor: remove splitObject
2016-12-19 15:19:15 +08:00
Wei Zhu
d7a110552b
Don't use index as row key. ( #4185 )
...
* Ensure warning if key is undefined.
* Ensure getRecordKey receives index
* Remove rowKey's second parameter from doc.
2016-12-16 17:53:08 +08:00
afc163
82902855db
fix ts error
2016-12-03 15:51:44 +08:00
Wei Zhu
65b2429ed2
Fix grouping column filter. ( #4113 )
2016-12-03 15:13:10 +08:00
Benjy Cui
c4d8c4770c
Add upgrade warning ( #4028 )
...
* chore: add upgrade warning for time related value
* chore: update warning
* chore: update demo url
2016-12-02 15:07:33 +08:00
Wei Zhu
86f1fa030a
Fix: table columns not update ( #4009 )
2016-11-25 15:04:25 +08:00
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
2016-11-23 17:53:10 +08:00
Wei Zhu
ed455c01d1
feat: Implement Table.Column and Table.ColumnGroup ( #3868 )
...
* Implement Table.Column and Table.ColumnGroup
* Upgrade rc-table
2016-11-22 10:11:12 +08:00
Wei Zhu
0e6ac6bc4c
Optimize table selection ( #3757 )
...
* Extract SelectionRadio, SelectionCheckbox, SelectionCheckboxAll
* Add some tests
2016-11-11 15:26:51 +08:00
Benjy Cui
60ecb3c628
refactor: each message should warn just once
2016-11-01 11:10:11 +08:00
feng zhi hao
90fbd4da51
types: add datasource generics type in Table ( #3603 )
2016-10-26 18:26:26 +08:00
Benjy Cui
08e21e0a2f
refactor: close : #3490
2016-10-24 16:30:38 +08:00
afc163
1e5264bad7
fix tslint
2016-10-20 22:10:46 +08:00
yiminghe
c2d3f16dfb
update tslint
2016-10-20 19:19:16 +08:00
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
...
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
2016-10-18 11:55:00 +08:00
feng zhi hao
4b9db4ff87
improve props interface in InputNumber and Table ( #3360 )
2016-10-10 22:38:47 +08:00
ImJoeHs
ea5386994d
fix table filter type ( #3193 )
...
* fix table filter type
* 'fix'
* update
2016-09-28 19:56:12 +08:00