Commit Graph

352 Commits

Author SHA1 Message Date
Leon Shi
baac12d1c4 fix lint (#1513)
* fix lint `prefer-stateless-function`

* fix lint `arrow-body-style`
2016-04-26 14:09:19 +08:00
afc163
293812098a Merge branch master into develop-1.0.0 2016-04-25 19:34:01 +08:00
afc163
14f857b7ac prevent propagation of Table rowSelection controls, close #1470, close #1507 2016-04-25 17:55:45 +08:00
afc163
f9153e7b88 Merge branch master into develop-1.0.0 2016-04-25 13:51:18 +08:00
afc163
d7ee4bffa1 Fix initial selectedRowKeys, close #1501 2016-04-25 13:47:08 +08:00
Benjy Cui
12331ea57c style: enable react/prefer-stateless-function in demo 2016-04-21 11:36:51 +08:00
afc163
d2ffb0978f Merge branch master into develop-1.0.0 2016-04-16 17:10:10 +08:00
afc163
6a14de411d Fix uncontrolled table issue
close #1433 #1434
2016-04-16 17:07:39 +08:00
afc163
8a9a1d2334 fix checkbox style 2016-04-15 23:34:40 +08:00
afc163
4835471210 update Table initial current page 2016-04-14 14:47:39 +08:00
Benjy Cui
3677339646 fix: revert 2016-04-14 14:20:18 +08:00
Benjy Cui
9d95313d03 chore: suppress warning 2016-04-14 11:22:53 +08:00
Benjy Cui
0ebf6c2ecc style: enable react/prefer-es6-class 2016-04-13 17:23:14 +08:00
afc163
87f8d1f334 Change current to defaultCurrent 2016-04-13 11:39:56 +08:00
afc163
960ea425b9 Merge branch master into develop-1.0.0 2016-04-12 19:44:38 +08:00
afc163
9a7a620ec7 Fix filter menu value type 2016-04-12 19:43:10 +08:00
afc163
9774181979 Fix Table pagination.size, close #1396 2016-04-12 18:19:27 +08:00
afc163
76935c9630 a little perfermance 2016-04-09 16:30:53 +08:00
afc163
0a55eb8c43 reuse getColumnKey 2016-04-09 15:30:24 +08:00
afc163
e46d60cc2a Merge branch master into develop-1.0.0 2016-04-06 23:58:14 +08:00
afc163
79f817466e fix(table): radio selection can not be controlled
close #1346
2016-04-06 23:29:32 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
afc163
84b731df0f Merge branch master into develop-1.0.0 2016-04-01 01:09:24 +08:00
afc163
29ceb8862d fix: controlled pagination.current should not respond user interaction
ref #1311
2016-04-01 00:57:03 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
578605f230 Merge pull request #1294 from ant-design/feat-controlled-filter-and-soter
Feat controlled filters and sorter
2016-03-30 18:51:51 +08:00
afc163
b4a75ddcc9 fix sort and filter perf 2016-03-30 17:56:37 +08:00
afc163
2651d80fc2 Individual controlled filter 2016-03-30 17:49:36 +08:00
Benjy Cui
fd3406bd03 style: enable react/jsx-no-bind 2016-03-30 17:06:19 +08:00
afc163
ae9f8d0365 Add docs for sortOrder & filteredValue 2016-03-30 14:39:21 +08:00
afc163
137d57da08 controlled filters 2016-03-30 14:39:21 +08:00
afc163
0dbc69ea8e sorted => sortOrder 2016-03-30 14:39:21 +08:00
afc163
94234a7749 Fix sort state 2016-03-30 14:39:21 +08:00
afc163
6d2b9b249c Make column.sorted be a controlled prop 2016-03-30 14:39:21 +08:00
afc163
5ce99d7c07 get initial sorted state from columns 2016-03-30 14:39:21 +08:00
afc163
4ee09de3b9 Add demo, confirm related API 2016-03-30 14:39:21 +08:00
afc163
ba8d9b7dc3 Merge branch 'master' into develop-1.0.0 2016-03-29 17:36:58 +08:00
afc163
ec6ac78e15 simplify table demo 2016-03-29 17:32:03 +08:00
afc163
7692bf3d42 update site style 2016-03-28 19:12:51 +08:00
afc163
fbda3c7b88 Merge master into develop-1.0.0 2016-03-28 16:15:36 +08:00
afc163
bc2bafff54 update table demo code style 2016-03-28 16:00:58 +08:00
afc163
127f893619 Add Table rowClassName into document 2016-03-28 13:44:50 +08:00
Benjy Cui
5e4786440d deps: remove object-assign 2016-03-25 18:16:48 +08:00
afc163
61f9ba1fd7 Fix table footer style 2016-03-25 16:12:29 +08:00
afc163
4760d0b54c Add scroll and column.fixed document 2016-03-25 16:12:29 +08:00
afc163
0243afb7c5 fix scroll bar style 2016-03-25 16:12:29 +08:00
afc163
15f576020b Add fixed columns demos 2016-03-25 16:12:29 +08:00
afc163
0534c53db5 Merge master into develop-1.0.0 2016-03-25 12:18:51 +08:00
afc163
963d073f1d improve api table style 2016-03-24 21:30:33 +08:00
Bruce Mitchener
11c0a6a203 Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.

The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
Benjy Cui
1f7a30c99c Merge branch 'master' of github.com:ant-design/ant-design into spa-new-design-language 2016-03-18 11:12:51 +08:00
afc163
60cd7ed85e Fix current page when Table pageSize changed 2016-03-17 15:13:48 +08:00
afc163
f247297f01 Fix children row selection, close #1212 2016-03-16 16:39:53 +08:00
afc163
0a1d3bdd3b fix onChange argument 2016-03-16 16:35:41 +08:00
afc163
5e1f0960a2 Fix rowSelection.onChange selectedRows when specify rowKey 2016-03-16 16:03:16 +08:00
afc163
884c92d7ec pageSize change should trigger Table.onChange, close #1206 2016-03-16 14:26:21 +08:00
afc163
50fd241648 Fix missing code of a222b38 2016-03-15 19:31:56 +08:00
Benjy Cui
ebab622add Merge branch 'master' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-15 09:47:55 +08:00
afc163
1929f7db97 fix dataSource undefined 2016-03-14 11:19:13 +08:00
afc163
1e08883315 update table selection demo 2016-03-10 16:55:02 +08:00
afc163
2482140d2f Change context locale name 2016-03-10 10:32:50 +08:00
afc163
99b58e67ec Add other component for locale 2016-03-10 10:32:49 +08:00
yiminghe
3e0d11043b fix pagination in table 2016-03-08 20:29:18 +08:00
afc163
e2c42a87d0 Add docs for #1139 2016-03-06 22:44:58 +08:00
afc163
f4995b7f67 Add foot and showHeader for Table 2016-03-06 00:08:53 +08:00
afc163
9cdee3434a typo fix #1113 2016-03-04 11:39:58 +08:00
afc163
8daabfced8 docs: update table 2016-03-03 15:32:16 +08:00
afc163
3e9a5afa90 docs: table locale, ref #1110 2016-03-03 12:08:53 +08:00
afc163
7d151514e3 Fix rowSelection.onSelectAll, bump 0.12.7, ref #1105 2016-03-02 23:42:44 +08:00
afc163
fe750d365d improve rowSelect arguments, ref #1105 2016-03-02 21:58:41 +08:00
afc163
c91bf93a38 Fix docs 2016-03-02 21:12:52 +08:00
afc163
9b09e54df5 Fix columns[0] undefined bug in Table 2016-03-02 16:01:36 +08:00
afc163
3738eb3b73 update code style 2016-03-02 14:52:24 +08:00
afc163
7ea67b6e37 stable sort in table
http://jsperf.com/chrome-stable-sort
2016-02-26 16:31:33 +08:00
afc163
17b9d85f44 update demo title 2016-02-26 11:07:50 +08:00
afc163
3ab72afc44 Fix pagination size in table 2016-02-25 15:40:35 +08:00
afc163
08e04e0b14 Hide selection component in children data 2016-02-22 18:52:14 +08:00
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
haoxin
6c4998621e doc: fix Table onSelectAll params 2016-02-17 16:59:13 +08:00
Benjy Cui
9d022ff84c style: update code style to please lint 2016-02-17 15:57:33 +08:00
Guan Hao
8726ebfdb6 Fix a typo in components/table documentation. 2016-02-14 13:34:05 +08:00
afc163
e5108f6b00 Fix menu import bug in rc-menu@0.10.x, close #982 2016-02-02 16:48:16 +08:00
Benjy Cui
68b51e298d style: update code style for space-before-function-paren 2016-01-27 17:00:58 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
afc163
e0925a20a8 Add useFixedHeader, #918 2016-01-24 15:40:14 +08:00
afc163
5d9978e6bb remove some hidden demos 2016-01-23 15:02:34 +08:00
afc163
b855525615 Feature: support paging columns, ref #708 2016-01-20 17:15:39 +08:00
afc163
4b5e09de8d Merge branch 'master' into develop-0.12.0 2016-01-16 14:58:05 +08:00
afc163
341ad18eb6 fix table select all 2016-01-15 17:44:19 +08:00
afc163
7f5735b968 update table demo 2016-01-15 17:21:50 +08:00
afc163
3ed9ce3cb5 Do not empty selection when change dataSource now
eh... empty behavious will trigger a infinite loop when sapecify
immutable dataSource

You need to empty manully when change data or current page
2016-01-15 16:07:59 +08:00
afc163
c732855902 rm alert 2016-01-12 14:25:33 +08:00
afc163
0f72c80e79 Merge pull request #829 from ant-design/upgrade-eslint-config
Upgrade eslint config
2016-01-12 11:54:07 +08:00
afc163
cf92a79529 merge master 2016-01-12 11:44:02 +08:00
绯一
1ca51cbd5c [update] hide onRowClick 2016-01-11 12:09:12 +08:00
绯一
502ae06f9d [feat] add rowClick demo and doc 2016-01-11 11:37:36 +08:00
Benjy Cui
7f394da335 style: update code style to please lint 2016-01-11 10:10:32 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +08:00