二货机器人
25788e69a8
omit withstore ( #19343 )
5 years ago
yoyo837
453c01aaae
tuple for column fixed prop types
5 years ago
二货机器人
e75fa039ef
refactor: Use CSSMotion ( #19205 )
* refactor: Use CSSMotion
* fix lint
* update rc-menu deps
* fix test case
* clean up
* more test case
* fix lint
5 years ago
afc163
d41b5be377
✅ increase Table test coverage
5 years ago
kristof0425
4cc5fcdb24
refactor(Table): move columns to state to set in getDerivedState
5 years ago
kristof0425
948d0bd7bb
fix(Table): move rowSelection logic to getDerivedStateFromProps
5 years ago
kristof0425
8bae8bf27d
refactor(Table): move createComponents outside of class, eliminate cWRP
5 years ago
swillis12
2c864b9bc6
Add sortColumn to title render ( #19012 )
Update docs
Update TS interface
Add null
Fix lint error
5 years ago
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
5 years ago
Thomas Ladd
3e4fd43a07
table: Correct onRow event handlers to receive a MouseEvent instead of SyntheticEvent
5 years ago
Ilya Bondarenko
8846122060
feat: Add visible to filterDropdown function ( #17614 )
* Add visible to filterDropdown function
* Update tests
5 years ago
yoyo837
864138370f
update type
5 years ago
afc163
d9f2c906ca
⚡ support column.ellipsis
close #5753
5 years ago
afc163
577bc87bba
Add Table `tableLayout` prop
6 years ago
orzyyyy
47fd80c8ad
fix: disable next line instead of the whole file
5 years ago
orzyyyy
b054ce3874
chore: adjust indent & revert demo & fix lint problem
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
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