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
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
广彬-梁
a7ba9004e1
fix: record key bug ( #3166 )
2016-09-27 13:41:57 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
ddcat1115
602000f1a1
feat: Table suport indeterminate checkbox ( #3074 )
...
* Table suport indeterminate checkbox
* Table support indeterminate Checkbox
2016-09-20 15:29:31 +08:00
afc163
69cdf22b42
Allow indicate expandIconColumnIndex in Table, close #3055
2016-09-20 13:16:58 +08:00
feng zhi hao
2cf5dc0046
chore: improve declaration ( #3078 )
2016-09-19 17:35:17 +08:00
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
...
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
2016-09-19 10:17:07 +08:00
偏右
354759cb17
Redesigned icons ( #3041 )
...
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
2016-09-18 09:54:47 +08:00
Benjy Cui
59093a6586
fix: should pass prefixCls correctly
2016-09-14 16:59:45 +08:00
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
...
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Benjy Cui
c754a3d3d4
chore: add warning for breaking changes
2016-09-14 11:42:06 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
Benjy Cui
77a45f0b00
deps: upgrade rc-table ( #2958 )
...
* feat: remove Table columns paging, close : #2883
* css: add style for table multi-header
* feat: multi-header supports fitler & sorter and so on
* feat: multi-heaader works with Table[scroll.y]
* feat: multi-header should works with Table[scroll.x]
* style: update code style to please lint
2016-09-09 13:55:41 +08:00
afc163
497ff0cabb
Merge branch "1.x-stable"
2016-08-31 15:00:13 +08:00
afc163
e0eb9ae162
Merge branch "1.x-stable"
2016-08-29 21:02:59 +08:00
DengYun
43d17eeb3a
补充Table组件缺少的columns的属性类型定义 ( #2833 )
...
* 补充Table组件缺少的columns的属性类型定义
* `columns` is required.
2016-08-25 10:58:10 +08:00
afc163
ca906a0f9d
Merge branch "1.x-stable"
2016-08-23 18:16:19 +08:00
afc163
24d2973c32
Merge branch "1.x-stable"
2016-08-16 17:54:59 +08:00
Benjy Cui
978b9f98e7
refactor: table ts ( #2664 )
...
* refactor: table ts
* fix: should pass context to onChange correctly
2016-08-11 15:38:03 +08:00
afc163
bb68245b7f
Merge 1.x-stable
2016-08-04 14:06:09 +08:00
afc163
0eeca99f02
Merge 1.x-stable
2016-07-26 22:20:33 +08:00
afc163
2e41e35cc6
Fix more tslint problems
2016-07-13 17:22:23 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
afc163
5e5bd6af9e
Merge branch '1.x-stable'
2016-07-12 21:36:23 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
afc163
cc4cab5b1e
Merge 1.x-stable
2016-06-23 23:11:14 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00