He Linming
3d8b9df423
fix: table does not automatically scroll to the top when change page size ( #19465 )
...
* 🐛 (Table): fix scrollToFirstRow
fix table does not automatically scroll to the top when change page size
close #19464
* ✅ (Table): add test case for scrollToFirstRow
* 👌 (Table): change Trigger to .ant-select
Co-Authored-By: 骗你是小猫咪 <darryshaw@gmail.com>
2019-11-02 17:18:44 +08:00
afc163
916c0659bd
✅ increase Table test coverage
2019-09-28 19:11:10 +08:00
afc163
d41b5be377
✅ increase Table test coverage
2019-09-28 19:11:10 +08:00
afc163
66ca4a8b25
✅ more test cases
2019-09-28 19:11:10 +08:00
MrHeer
4a5b0e1669
✨ Flipping table to automatically scroll to the top
...
👌 apply it in handleFilter and toggleSortOrder
👌 ref instead of findDOMNode
✅ update test for scroll to first row
close #18623
2019-09-26 12:14:28 +08:00
愚道
2f5537a65b
Merge branch 'master' into chore/mergemaster
2019-09-02 10:47:32 +08:00
afc163
3d962ba817
✅ fix ci in React 15
2019-08-27 18:31:12 +08:00
afc163
ed133cb859
✅ increase Table code coverage
2019-08-27 18:31:11 +08:00
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
2019-04-03 15:54:26 +08:00
zombieJ
a3bd55b79a
revert #14608 ( #14898 )
...
* revert #14608
* add test case
2019-02-18 18:05:27 +08:00
Wei Zhu
32a61d8596
fix: handle true for Table[pagination] properly
...
`pagination` is not designed to accept `true` value,
but in practice, many people assign `true` to `pagination`,
since they thought `pagination` accepts boolean value.
2019-02-14 17:48:35 +08:00
何乐
b3834e48b1
Table: fix showing only first page ( #14724 )
...
* Table: fix showing only first page
* correct condition of pagination in Table
* correct test file
* handle changes
* improve test case
2019-02-05 23:11:08 +08:00
afc163
c563bc1d10
🐛 Table should pick pageSize over defaultPageSize in priority
...
close #14320
2019-02-02 22:44:46 +08:00
sdli
18262297da
fix table.pagination bug - when pageSize is larger than data source length
2019-01-28 22:43:03 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zombieJ
2cd0ca3225
Get the filtered data after executing the filter function on the dataSource ( #12369 )
...
* update testcase
* rename as currentDataSource
2018-09-30 11:17:39 +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
Cam Song
1af1534592
Add hideOnSinglePage to Pagination ( #8615 )
2017-12-29 20:14:53 +08:00
afc163
d3b98d311a
Merge branch 'master' into antd-3.0
2017-10-10 14:09:03 +08:00
afc163
712451acf7
Fix codepen demo
2017-10-10 11:35:50 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
Wei Zhu
baa8e23280
Pass className to table's pagination
...
fix #6416
2017-06-12 11:35:29 +08:00
Wei Zhu
1a8e738142
Set snapshotSerializers
2017-04-02 18:09:23 +08:00
Wei Zhu
fee429909f
Change to correct page when table data changes ( #5277 )
...
Fix #5259
2017-03-16 23:01:13 +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
93e152268c
remove it.only, ref #4779
2017-02-07 21:21:51 +08:00
afc163
a585f603d0
Fix Table selection page-jumping issue, close #4779
2017-02-07 21:09:51 +08:00
afc163
452aa84d9d
fix table test case typo
2017-01-09 21:06:04 +08:00
afc163
1c493ad798
Fix error when Table[pagination] change, close #4532
2017-01-09 20:49:00 +08:00
Wei Zhu
666e80a1ba
tests: Fix table import
2016-12-14 15:38:26 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00