Commit Graph

161 Commits

Author SHA1 Message Date
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
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
Benjy Cui
5e4786440d deps: remove object-assign 2016-03-25 18:16:48 +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
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
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
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
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
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
afc163
b855525615 Feature: support paging columns, ref #708 2016-01-20 17:15:39 +08:00
afc163
341ad18eb6 fix table select all 2016-01-15 17:44:19 +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
cf92a79529 merge master 2016-01-12 11:44:02 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
Benjy Cui
b58142081c feat: add defaultValue for onChange onShowSizeChange 2016-01-08 16:53:25 +08:00
Benjy Cui
64cde2e905 fix: Pagination.onChange should be called #824 2016-01-08 15:29:34 +08:00
afc163
34f9ab05b0 make selected item can be controlled, #793 2016-01-01 22:34:59 +08:00
afc163
28b75ce8da Add rowSelection onChange, #786 2016-01-01 20:08:30 +08:00
afc163
27908bf42e Fix disabled checkbox logic in table rowSelection 2016-01-01 19:49:02 +08:00
afc163
b276ca65fc checkAll should be disabled when every checkbox is disabled 2016-01-01 19:07:28 +08:00
afc163
01468cdc54 improve getDefaultSelection code implementation 2016-01-01 19:00:34 +08:00
afc163
092e2e1ac6 empty selectedRowKeys when dataSource changed, ref #793 2016-01-01 18:53:57 +08:00
afc163
253da716f3 change table default indentSize 2015-12-29 14:36:38 +08:00
yiminghe
d7e4578b89 fix pageSize 2015-12-28 15:42:16 +08:00
afc163
c45c6877f8 fix lint problems 2015-12-27 16:20:59 +08:00
Benjy Cui
38083e5a9f feat: expose onShowSizeChange 2015-12-24 10:12:31 +08:00