afc163
173859e49c
✨ Add Table `getPopupContainer`
close #17548
close #16876
close #14864
close #14426
5 years ago
zombieJ
42468b6ad7
feat: Enhance accessibility of Table expanded icon ( #17781 )
* use icon instead of css
* update snapshot
* clean up
* update style
* update snapshot
* add click test case
* clean up
* update snapshot
5 years ago
afc163
57c28def68
revert unknown to any
6 years ago
afc163
936fea5769
🐛 Fix onRow return types
https://github.com/ant-design/ant-design/issues/17245#issuecomment-504807714
6 years ago
陈帅
82b85709be
style: run lint-fix ( #17172 )
6 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
afc163
969c171da1
fix filterDropdown type
6 years ago
陈帅
30508b0124
fix error types ( #16043 )
6 years ago
zombieJ
a802a72d56
Fix Table filter can not support other type of value ( #15046 )
* use new life cycle
* filter support inner value maps
* update snapshot
* update test case
* simple code
6 years ago
zombieJ
d2c17cd747
only set getPopupContainer when scroll provides ( #14864 )
* only set getPopupContainer when scroll provides
* adjust
6 years ago
LT246-VINHNPH\vinhnph
bf135c1ceb
ReactNode has already included string
6 years ago
LT246-VINHNPH\vinhnph
c20acfb9b3
Table column filter could be ReactNode
6 years ago
richardison
2a99fe713a
Add missing type on table definition ( #14392 )
6 years ago
zhaopeidong
21ca7895fb
fix table ColumnProps interface
6 years ago
LeezQ
b2c6f5622b
ts: Update the TypeScript definition of Table[locale] ( #14245 )
6 years ago
信鑫-King
a7f8921f3f
🐛 table sortDirections optional
6 years ago
zombieJ
2164c58198
New Component: Empty ( #13651 )
6 years ago
Wei Zhu
405bc9783b
chroe: add a note comment about table's dataIndex
6 years ago
Wei Zhu
48956d54fc
Revert "Update interface.tsx"
This reverts commit f8fbb33c73
.
6 years ago
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`
6 years ago
wangshuai
cb0a92e13b
use T[] insteadof Array<T>
6 years ago
wangshuai
8c95732bfb
fix(Table):fix arguments and type definition in TableRowSelection
6 years ago
Wang yb
f8fbb33c73
Update interface.tsx
6 years ago
zombieJ
68ad468938
move sorter logic from div to th cell ( #13669 )
fix #13467
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
yoyo837
722b903118
update docs react-component/table#222
6 years ago
zombiej
0e1caae01d
Table add expandIcon prop
close #10819 , #11802
6 years ago
zombieJ
2cd0ca3225
Get the filtered data after executing the filter function on the dataSource ( #12369 )
* update testcase
* rename as currentDataSource
6 years ago
Wei Zhu
306bce385b
Improve type definition and doc of TableComponents
6 years ago
Xiaoyu Li
1f8ac3f697
fix filterIcon type
based on api [ReactNode|(filtered: boolean) => ReactNode]
https://ant.design/components/table-cn/#components-table-demo-dynamic-settings
6 years ago
afc163
f0974e0da7
support column.title as render props
```jsx
columns={[{
title: (filters, sortOrder) => <div>Title</div>,
}]}
```
close #11246
6 years ago
afc163
27e2654f0f
sort by click column area
6 years ago
afc163
bead75021b
change and undocument onSelectMultiple cause it need more disscuss
6 years ago
littleLane
b23d742f1b
feat: add rowSelection.columnTitle to Table
6 years ago
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 ?
6 years ago
Eager Wei
9c792d52a8
fix table onChange pagination type ( #11291 )
Update interface.tsx TableProps onChange
6 years ago
Christian Vadalà
59cc3a8b6c
feat: adds ability to override filter renderer without migrate to a fully controlled component
7 years ago
Tomáš Szabo
bf5b6ae1f3
Fix incompatible type error for Table[size] prop
7 years ago
afc163
f2fddff3fd
upgrade rc-table to 16.2
close #10392
close #10379
close #10828
7 years ago
afc163
17b158c091
Fix CheckboxAll status when remove data and selectedKeys
close #10629
7 years ago
Junbin Huang
30eacdfb1b
chore: fix lint ( #10747 )
7 years ago
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.
7 years ago
Zheeeng
59fe98a194
Add position config for List pagination ( #10581 )
7 years ago
Wei Zhu
8a6d9b92b7
Improve table types
Fix #10374
7 years ago
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
7 years ago
Nokecy
98d56b2dd0
Fixed typescript definition and add table props onHeaderRow ( #9902 )
7 years ago
诸岳
aadba9b0e3
docs: add align prop description ( #9749 )
7 years ago
Wei Zhu
f78e0098fa
Improve Radio/Checkbox type definition
Close #9574
7 years ago
SimpleFrontend
9073237e70
Added selectionColumnWidth to TableRowSelection ( #9474 )
* Added selectionColumnWidth to TableRowSelection
* Updated documents
* Renamed selectionColumnWidth to columnWidth
7 years ago