richardison
2a99fe713a
Add missing type on table definition ( #14392 )
2019-01-17 13:44:15 +08:00
zhaopeidong
21ca7895fb
fix table ColumnProps interface
2019-01-17 00:43:47 +08:00
LeezQ
b2c6f5622b
ts: Update the TypeScript definition of Table[locale] ( #14245 )
2019-01-10 16:45:58 +08:00
信鑫-King
a7f8921f3f
🐛 table sortDirections optional
2019-01-08 20:20:16 +08:00
zombieJ
2164c58198
New Component: Empty ( #13651 )
2018-12-26 16:01:00 +08:00
zombiej
b5fc19632b
merge master
2018-12-26 14:23:40 +08:00
Wei Zhu
405bc9783b
chroe: add a note comment about table's dataIndex
2018-12-25 16:31:02 +08:00
Wei Zhu
48956d54fc
Revert "Update interface.tsx"
...
This reverts commit f8fbb33c73
.
2018-12-25 16:27:36 +08:00
Harlan
6b6ec278cc
Table: add prop sortDirections
for table and column ( #13773 )
...
* Table: add prop `sortMethods`
with `sortMethods` user can change table sort methods and its order
* Table: `sortMethods` can be set on column prop
* rename `sortMethods` to `sortDirections`
2018-12-22 18:16:02 +08:00
wangshuai
cb0a92e13b
use T[] insteadof Array<T>
2018-12-21 21:34:19 +08:00
wangshuai
8c95732bfb
fix(Table):fix arguments and type definition in TableRowSelection
2018-12-21 21:34:19 +08:00
Wang yb
f8fbb33c73
Update interface.tsx
2018-12-20 17:18:12 +08:00
zombieJ
68ad468938
move sorter logic from div to th cell ( #13669 )
...
fix #13467
2018-12-17 22:42:16 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
yoyo837
722b903118
update docs react-component/table#222
2018-10-26 12:29:43 +08:00
zombiej
0e1caae01d
Table add expandIcon prop
...
close #10819 , #11802
2018-10-17 21:22:40 +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
Wei Zhu
4ce3800de7
Merge branch 'master' into feature
2018-09-29 16:27:07 +08:00
Wei Zhu
306bce385b
Improve type definition and doc of TableComponents
2018-09-25 19:48:50 +08:00
Xiaoyu Li
1f8ac3f697
fix filterIcon type
...
based on api [ReactNode|(filtered: boolean) => ReactNode]
https://ant.design/components/table-cn/#components-table-demo-dynamic-settings
2018-09-22 20:11:09 -05:00
afc163
f0974e0da7
support column.title as render props
...
```jsx
columns={[{
title: (filters, sortOrder) => <div>Title</div>,
}]}
```
close #11246
2018-09-21 13:41:08 +08:00
afc163
27e2654f0f
sort by click column area
2018-09-21 13:41:08 +08:00
afc163
bead75021b
change and undocument onSelectMultiple cause it need more disscuss
2018-08-05 13:58:54 +08:00
littleLane
b23d742f1b
feat: add rowSelection.columnTitle to Table
2018-07-28 14:57:00 +08:00
Raphael Chauveau
08e83193f2
Multiple row selection ( #11406 )
...
This PR intends to solve issue #11404 (Multiple row selection in table component).
The Chinese documentation is missing from the PR. Could someone please add it ?
2018-07-24 14:49:23 +08:00
Eager Wei
9c792d52a8
fix table onChange pagination type ( #11291 )
...
Update interface.tsx TableProps onChange
2018-07-17 17:56:24 +08:00
Christian Vadalà
59cc3a8b6c
feat: adds ability to override filter renderer without migrate to a fully controlled component
2018-07-02 19:42:27 +08:00
afc163
817ee3e9e1
Merge branch 'master' into feature-3.7.0
2018-06-27 19:26:51 +08:00
Tomáš Szabo
bf5b6ae1f3
Fix incompatible type error for Table[size] prop
2018-06-27 17:51:48 +08:00
afc163
f2fddff3fd
upgrade rc-table to 16.2
...
close #10392
close #10379
close #10828
2018-06-08 16:32:04 +08:00
afc163
17b158c091
Fix CheckboxAll status when remove data and selectedKeys
...
close #10629
2018-06-05 20:45:19 +08:00
Junbin Huang
30eacdfb1b
chore: fix lint ( #10747 )
2018-06-02 18:49:39 +08:00
Jack Works
163ec46cbb
Fix #9859 , #9858 ( #10294 )
...
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.
Extra checklist:
**if** *isBugFix* **:**
* [-] Make sure that you add at least one unit test for the bug which you had fixed.
2018-06-02 15:49:11 +08:00
Zheeeng
59fe98a194
Add position config for List pagination ( #10581 )
2018-05-21 21:52:18 +08:00
Wei Zhu
8a6d9b92b7
Improve table types
...
Fix #10374
2018-05-07 12:32:26 +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
Nokecy
98d56b2dd0
Fixed typescript definition and add table props onHeaderRow ( #9902 )
2018-04-02 17:15:17 +08:00
诸岳
aadba9b0e3
docs: add align prop description ( #9749 )
2018-03-21 17:42:19 +08:00
zhuyue
ed70ba694e
Merge branch 'feature-3.3.0'
2018-03-11 14:50:25 +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
Leo
f8e996ee8e
fix type of column dataIndex ( #9298 )
2018-02-07 20:26:03 -06:00
Wei Zhu
49c2a6220b
Merge branch 'feature-3.2'
2018-02-04 17:24:16 +08:00
Evert Bouw
0c69d721de
Fix(Typings): Add OnHeaderCell property to ColumnProps ( #9223 )
...
* Fix(Typings): Add OnHeaderCell property to ColumnProps
* onHeaderCell actually receives the ColumnProps object
2018-02-01 04:54:50 -06:00
mgrdevport
5fd741bf21
Pass name prop down to the table selection input ( #9054 )
2018-01-31 01:07:53 -06:00
afc163
63c620240b
emptyText should support function, close #8871
2018-01-11 23:17:44 +08:00
Dane David
e8d3be5dc2
Make Table props optional ( #8515 )
2017-12-08 15:36:32 +08:00
Dane David
687b058dc0
Add missing type definitions for table #8507 ( #8511 )
2017-12-08 14:24:34 +08:00
ChrisF
cd7a04a069
change children prop of TableProps to React.ReactNode ( #8317 )
...
* make children prop of RadioGroupProps optional
* change children prop of TableProps to React.ReactNode
2017-11-27 10:53:55 +08:00
Wei Zhu
5cb5a2ae9d
Fix implicit any error for Table
2017-11-21 14:22:35 +08:00