Commit Graph

359 Commits

Author SHA1 Message Date
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale ()
* ConfigProvider support locale

* update docs

* update category

* clean up

* moving locale

* update check script

* update related code

* add test case

* demo link

* update doc

* hide one rule of md with eslint

* update error link
2019-07-24 10:34:55 +08:00
afc163
2a5a8415be 🐛 ConfigProvider getPopupContainer for Table 2019-07-23 11:48:34 +08:00
afc163
173859e49c
Add Table getPopupContainer
close 
close 
close 
close 
2019-07-22 21:30:45 +08:00
zombieJ
42468b6ad7
feat: Enhance accessibility of Table expanded icon ()
* use icon instead of css

* update snapshot

* clean up

* update style

* update snapshot

* add click test case

* clean up

* update snapshot
2019-07-22 19:28:23 +08:00
vagusX
eac30ec8e4 Feat/remove deprecated ()
* feat: remove warnings for linkRender, nameRender in Breadcrumb

* feat: remove warnings for onOpen, onClose in Menu

* feat: remove warnings for overlay in Popover

* feat: remove warnings for columnsPageRange, columnsPageSize in Table

* feat: remove warnings for afterClose in Tag

* feat: remove warnings for notFoundContent, searchPlaceholder, body, onSearchChange in Transfer

* fix: types in Transfer

* feat: update test cases in Transfer

* feat: add additional test cases for removed deprecated apis
2019-07-09 11:46:21 +08:00
zombieJ
e67270cd59
fix: Table with sort should reset to first page ()
* sort reset pagination

* add test case
2019-06-10 11:59:46 +08:00
偏右
9fdc408cd0
Merge branch 'master' into bugfix 2019-06-04 18:59:20 +08:00
afc163
c4128c0d14
🐛 Fix selectedRows missing when there is childrenColumnName in Table
close 
2019-05-16 14:50:24 +08:00
zombieJ
73188ac497
fix: Table rowSelection.columnWidth should work ()
* set row col width instead of check cecll width

* use rc-table internal hook

* update snapshot
2019-04-21 13:54:15 +08:00
zombieJ
21c0ba5bbd
udpate warning () 2019-04-17 17:31:39 +08:00
偏右
d922c377cb refactor: Optimize default selection column width implement ()
* 🔨 Optimize default selection column width implement

make it be able to overrided in css

close 

*  update snapshots
2019-04-11 00:54:46 +08:00
zombiej
bdc3ad431d fix align right not work 2019-04-06 12:56:07 +08:00
zombieJ
aebb781000
Table style update. Move sort button after title ()
* update style of sort icon

* update snapshot

* micro adjust

* little offset of arrow
2019-03-31 14:01:24 +08:00
偏右
9e0aa5cb94 🐛 Fix empty missing when Table is loading ()
close 
2019-03-22 16:21:58 +08:00
zombieJ
3fbeff3fcc
add warning when use getCheckboxProps () 2019-03-06 16:48:14 +08:00
chenlong
fc88005c9c Add fault-tolerant processing for rowSelection.getCheckboxProps 2019-03-06 13:58:04 +08:00
zombieJ
4d1a998246
add component param in warning ()
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
zombieJ
a3bd55b79a
revert ()
* revert 

* add test case
2019-02-18 18:05:27 +08:00
zombieJ
d2c17cd747
only set getPopupContainer when scroll provides ()
* only set getPopupContainer when scroll provides

* adjust
2019-02-16 11:49:15 +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
zombieJ
67ad35bc26
fix additional className () 2019-02-11 01:00:33 +08:00
何乐
b3834e48b1 Table: fix showing only first page ()
* 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 
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
zombieJ
5cec6b56fb
Table sorter tooltip ()
close 
2019-01-09 14:10:30 +08:00
zombiej
6777635120 add warning when user both use expandedRowRender & scroll on Table 2019-01-08 21:23:04 +08:00
ycjcl868
3b55f63ef5 🐛 strictNullCheck with defaultProps 2019-01-08 20:20:16 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict ()
* adjust table fixed column z-index ()

fix 

* 📝 Add instruction for one column without width left in fixed table

* Add full PR template link in template ()

* add full tmpl link

* adjust

* simplify it

* add cn link

* Fix Affix flickering when scrolling

* update

* fix: top border disappeared under some ie9

* fix calendar month range display ()

* Fix tslint warning

* Correct typescript usage ()

* 🐛 Fix steps style under IE9

close 

* 🐛 tweak style for not affecting vertical steps

* 📝 enhance upload documentation

* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010

* 🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png

* 📝 site: fix BackTop been covered by footer

close 

* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md

* 🐛 Fix nested Timeline last item missing line ()

close 

* init Spin should also support delay trigger ()

fix 

* Update table docs

* bugfix

* Format

* update snapshot

* test: fix spin test
2019-01-06 13:25:59 +08:00
zombieJ
2164c58198
New Component: Empty () 2018-12-26 16:01:00 +08:00
zombiej
b5fc19632b merge master 2018-12-26 14:23:40 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
* master:
  📝 Add bodyStyle and style of Drawer in documentation, 
  🐛 Fix Drawer style not working
  🐛 fix markStyle affset style
  Update Santa.jsx
  update changelog
  bump 3.11.6
  revert Christmas egg
  [type] make type of components compatible with ComponentType<P>
  bump 3.11.5
   site: make document side bar sticky
2018-12-25 16:28:50 +08:00
Wei Zhu
96e1d770ec Revert "fix"
This reverts commit 839d0dcb09.
2018-12-25 16:27:46 +08:00
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +08:00
Harlan
6b6ec278cc Table: add prop sortDirections for table and column ()
* 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
afc163
879784c665
Merge branch "master" into "feature" 2018-12-20 17:43:00 +08:00
yibu.wang
839d0dcb09 fix 2018-12-20 17:18:12 +08:00
Sam Lanning
e56e1a71c3 [chore] fix useless assignments to local variables
This commit addresses all the instances of useless assignments to
local variables, as found by LGTM.com
2018-12-20 17:16:00 +08:00
zy410419243
2bfc23b6f1 fix: render correctly when set childrenColumnName 2018-12-20 17:05:27 +08:00
zombiej
cdf4c1e6b8 merge origin/master 2018-12-18 19:18:08 +08:00
zombieJ
68ad468938
move sorter logic from div to th cell ()
fix 
2018-12-17 22:42:16 +08:00
afc163
50617e7ebe
Merge branch 'master' into feature 2018-12-13 22:53:15 +08:00
afc163
860809f173
fix invalid title in div 2018-12-13 22:51:53 +08:00
陈帅
daca08b6f1 merge master 2018-12-13 22:03:12 +08:00
陈广亮
1e0400704b fix getColumnTitle bug
title: <div>
           <span>title</span>
           null
        </div>
2018-12-10 16:19:22 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
df356a586c Merge branch 'master' into feature 2018-12-07 18:52:13 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zombiej
821ced5e30 fix filtered record miss selectedRows
fix 
2018-12-06 11:06:10 +08:00
zy410419243
4b6d2ede2f pref: fix codecov problem 2018-12-05 19:45:38 +08:00
zy410419243
ddec8a4db6 test: update snapshots 2018-12-05 19:45:38 +08:00
zy410419243
32d1f2852a fix: add title type 2018-12-05 19:45:38 +08:00
zy410419243
20de214c49 pref: fix ci problem 2018-12-05 19:45:38 +08:00
zy410419243
374c831822 pref: fix lint problem 2018-12-05 19:45:38 +08:00
zy410419243
4354e0aec4 fix: 2018-12-05 19:45:38 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ()
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
Laith
2bf0fadb11 Starting sort order with 'ascend', then 'descend', then undefined. () 2018-11-21 00:27:11 +08:00
zombiej
8fbfa1f876 should check more strict to avoid shallow compare miss match
fix 
2018-11-15 23:34:13 +08:00
ztplz
6ad23c370e Fix CI 2018-11-10 22:09:29 +08:00
afc163
a7f17b4cde Fix sort order broken issue when columns were put in render
will handle these situation

- with 'key'
- with function has same stringify value

close 
close 
2018-11-01 13:44:48 +08:00
afc163
f1d1d87de0 Fix unexpected column title in unsorted columns 2018-10-10 14:50:59 +08:00
afc163
688f4ec8d6 Fix sort state not change when columns in render
close 
2018-10-10 11:23:44 +08:00
afc163
419287de2b Fix sort event on every columns when sorter is true
close 
2018-10-06 18:21:30 +08:00
Wei Zhu
ff0595733f refactor: use instanceof instead typeof 2018-09-30 17:04:05 +08:00
Wei Zhu
2bf2bb5af4 fix: type error 2018-09-30 16:58:25 +08:00
zombieJ
2cd0ca3225 Get the filtered data after executing the filter function on the dataSource ()
* update testcase

* rename as currentDataSource
2018-09-30 11:17:39 +08:00
afc163
8d3cb85142 fix sort state when toggle between multiple columns 2018-09-21 19:06:38 +08:00
afc163
a0b8637783 destructuring assignment 2018-09-21 19:06:38 +08:00
afc163
f0974e0da7 support column.title as render props
```jsx
columns={[{
  title: (filters, sortOrder) => <div>Title</div>,
}]}
```

close 
2018-09-21 13:41:08 +08:00
afc163
8feb15ea72 fix test case 2018-09-21 13:41:08 +08:00
afc163
6530de2961 revert getPopupContainer 2018-09-21 13:41:08 +08:00
afc163
209e40508d fix sort 2018-09-21 13:41:08 +08:00
afc163
27e2654f0f sort by click column area 2018-09-21 13:41:08 +08:00
afc163
6f67c435c2 separate filter and sort into two click area 2018-09-21 13:41:08 +08:00
afc163
4c84dad106 move filter icon to end of column head 2018-09-21 13:41:08 +08:00
Wei Zhu
064bfaf554 Add @types/prop-types 2018-08-07 21:09:05 +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 ()
This PR intends to solve issue  (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
afc163
e2b9e5d832 update warning message 2018-07-20 12:10:43 +08:00
Wei Zhu
c380186e79 fix: table custom components not change 2018-07-12 16:42:15 +08:00
Tomáš Szabo
bf5b6ae1f3 Fix incompatible type error for Table[size] prop 2018-06-27 17:51:48 +08:00
Zheeeng
59fe98a194 Add position config for List pagination () 2018-05-21 21:52:18 +08:00
Wei Zhu
8a6d9b92b7 Improve table types
Fix 
2018-05-07 12:32:26 +08:00
愚道
013df45a70 merge https://github.com/ant-design/ant-design/pull/10306 from feature-3.5.0 2018-05-03 16:58:50 +08:00
Ash Kumar
013932e6d3 Feature: (Issue 10213): Column 'sorter' function is passed 'sortOrder' as param ()
* 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
afc163
15c6d58796 Table getCheckboxProps should be updated when rerender
close 
2018-04-22 15:19:04 +08:00
Terence
4458f3dde1 Fix missing key of column.title in Table () () 2018-03-14 17:46:56 +08:00
zhuyue
ed70ba694e Merge branch 'feature-3.3.0' 2018-03-11 14:50:25 +08:00
Camol
2aed46012e [feature]: add native Event - related to ()
* [feature]: add native Event - related to 

* update tests and rc-checkbox's version
2018-03-09 15:16:57 +08:00
Wei Zhu
f78e0098fa Improve Radio/Checkbox type definition
Close 
2018-03-08 20:39:34 +08:00
SimpleFrontend
9073237e70 Added selectionColumnWidth to TableRowSelection ()
* 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… ()
* feature: [Table] Pagination on the top in addition to the bottom. fix ()

* refactor pagination of table ()

* 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 ()"
This reverts commit f8e996ee8e.

Close 
2018-02-22 15:56:37 +08:00
Wei Zhu
7d5db31e67 Fix table custom spin indicator
Fix 
2018-02-14 12:56:22 +08:00
afc163
2909e5f651 Fix sorter icon click area overflow in Table
close 
2018-02-09 15:50:08 +08:00
Leo
f8e996ee8e fix type of column dataIndex () 2018-02-07 20:26:03 -06:00
mgrdevport
5fd741bf21 Pass name prop down to the table selection input () 2018-01-31 01:07:53 -06:00
sallen450
a9562e75fe Fix(Table): Hide emptyType in Table when loading prop is true ()
* fix(Table): Hide text in  when  prop is true

* test(Table): renders empty table without emptyText when loading

* refactor: code style
2018-01-26 09:30:11 -06:00
afc163
63c620240b emptyText should support function, close 2018-01-11 23:17:44 +08:00
Wei Zhu
a64337748a Fix table row create on every render.
Fix 
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 () 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  
2017-11-18 00:03:30 +08:00
Wei Zhu
f78d33ed59
Update rc-table ()
* Update rc-table

* Add table drag sorting demo
2017-11-17 18:53:07 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports () 2017-11-17 14:38:54 +08:00
Graeme Yeates
8395de01a2 Add support for column defaultSortOrder () ()
Fixes 
2017-11-09 19:30:24 +08:00
Benjy Cui
e5699aff68 fix: should not import moment while useless, close: 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 () 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 ()
* 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 () 2017-09-18 20:56:19 -05:00
爱but的苍蝇
644891f8f6 add Table scroll typings () 2017-09-17 15:44:01 +08:00
Wei Zhu
1547b889b7 Revert "Add support for table default sort order" () 2017-09-01 14:40:29 +08:00
偏右
a7200c906c Add hideDefaultSelections ()
close 
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 () 2017-08-07 10:40:34 +08:00
Benjy Cui
119d498935 chore: replace http with https, close: 2017-07-19 14:00:11 +08:00
paranoidjk
ba168b826f refactor: use spread operator replace object-assign () 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 ()
* 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 
2017-06-12 11:35:29 +08:00
afc163
55fc44aba4 fix table wrapper node null, 2017-05-24 16:16:42 +08:00
afc163
54c6b63e9f Fix table filter menu overflow issue, close 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 ()
* improve rowSelection.selections of Table

* fix classNames spell error

* update class name
2017-03-24 11:44:36 +08:00
偏右
674255bd14 [WIP] upgrade deps ()
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Benjy Cui
8f81594f91 Refactor: introduce injectLocale ()
* refactor: extract injectLocale and refactor Pagination, ref: 

* refactor: use injectLocale in Popconfirm, ref: 

* 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 ()
Fix 
2017-03-16 23:01:13 +08:00
Wei Zhu
557f40aec4 Use a constant to avoid creating new object
Ref 
2017-03-14 19:52:59 +08:00
Wei Zhu
f567342d95 Fix grouping column table sort and filter in controlled mode ()
Close 
2017-03-10 14:52:28 +08:00
Wei Zhu
c037abab6a Align table checkbox ()
* 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 ()
* 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 2017-02-20 11:36:56 +08:00
Benjy Cui
b7519a65c0 fix: should clear float, close: 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
2017-02-19 13:50:20 +08:00
afc163
bd6bc70302 Rollback for better loading animation, close 2017-02-18 14:58:47 +08:00
偏右
4c0af2ba1f refactor: reduce table nested level ()
* reduce table nested level, 

* 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的属性 ()
* 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 () 2017-02-09 22:43:58 +08:00
Wei Zhu
f84dfbbaa9 Fix table filter in JSX ()
Fix 
2017-02-08 14:43:00 +08:00
afc163
a585f603d0 Fix Table selection page-jumping issue, close 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, 2017-01-20 16:08:20 +08:00
afc163
fae7fd1658 Fix default value of Table showHeader, close 2017-01-20 11:34:08 +08:00
afc163
3f5aebe85b Fix Table column.filteredValue null problem, ref 2017-01-10 20:52:53 +08:00
afc163
1c493ad798 Fix error when Table[pagination] change, close 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 ()
*  Spinning Pagination of table while loading

 - close 

* update snapshots of table
2017-01-04 18:43:11 +08:00
Wei Zhu
29e4717fe3 Fallback table record key to data index. ()
In last PR , 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 2016-12-27 18:24:30 +08:00
Wei Zhu
8018529582 Ensure checkbox props cache is cleared after dataSource changes. ()
Fix 
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. ()
* 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. () 2016-12-03 15:13:10 +08:00
Benjy Cui
c4d8c4770c Add upgrade warning ()
* 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 () 2016-11-25 15:04:25 +08:00
Wei Zhu
ccbebe60cc style: Fix jsx alignment, () 2016-11-23 17:53:10 +08:00
Wei Zhu
ed455c01d1 feat: Implement Table.Column and Table.ColumnGroup ()
* Implement Table.Column and Table.ColumnGroup

* Upgrade rc-table
2016-11-22 10:11:12 +08:00
Wei Zhu
0e6ac6bc4c Optimize table selection ()
* 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 () 2016-10-26 18:26:26 +08:00
Benjy Cui
08e21e0a2f refactor: close: 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 ()
* Fixes for supporting TypeScript 2.0.3

* Fixes for supporting TypeScript 2.0.3. Issue is 
2016-10-18 11:55:00 +08:00
feng zhi hao
4b9db4ff87 improve props interface in InputNumber and Table () 2016-10-10 22:38:47 +08:00
ImJoeHs
ea5386994d fix table filter type ()
* fix table filter type

* 'fix'

* update
2016-09-28 19:56:12 +08:00
广彬-梁
a7ba9004e1 fix: record key bug () 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 ()
* Table suport indeterminate checkbox

* Table support indeterminate Checkbox
2016-09-20 15:29:31 +08:00
afc163
69cdf22b42 Allow indicate expandIconColumnIndex in Table, close 2016-09-20 13:16:58 +08:00
feng zhi hao
2cf5dc0046 chore: improve declaration () 2016-09-19 17:35:17 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration ()
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
偏右
354759cb17 Redesigned icons ()
* 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 ()
* 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 ()
* feat: remove Table columns paging, close: 

* 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的属性类型定义 ()
* 补充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