Commit Graph

128 Commits

Author SHA1 Message Date
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
Benjy Cui
d1c73231a1 fix: rowKey should work with Radio #697 2015-12-18 16:33:37 +08:00
afc163
e20111d918 Add table locale emptyText 2015-12-16 18:14:22 +08:00
Benjy Cui
74fc3fd710 fix: uncheck when all the data are disabled #682 2015-12-16 10:32:32 +08:00
afc163
41c60f6469 Add propTypes 2015-12-10 15:26:45 +08:00
afc163
58845101c2 update table demos 2015-12-10 15:16:33 +08:00
afc163
62d4bbd573 remove remote dataSource 2015-12-10 14:49:24 +08:00
afc163
397cfc96c0 fix selectedRowKeys bug code in 19c385c 2015-12-09 22:07:13 +08:00
afc163
a46dc5135c fix selection column width, close #649 2015-12-09 21:55:07 +08:00
afc163
dfd70ae634 fix empty filters when receive new columns in Table, ref #418 comment-163093580 2015-12-09 15:59:54 +08:00
afc163
c79913b896 Fix table columns key, #642 2015-12-07 16:20:52 +08:00
afc163
833498269d Add middle size table, ref #413 2015-11-26 14:44:28 +08:00
afc163
07f5c62ef8 change title text in sorter 2015-11-26 14:15:09 +08:00
Benjy Cui
998fa8816e feat: Table should support i18n 2015-11-24 15:58:50 +08:00
afc163
e058e67cb4 fix iconfont 2015-11-20 11:05:34 +08:00
afc163
a4bb599e52 fix default check all, ref #533 2015-11-16 15:57:36 +08:00
afc163
f5b4ad7279 Fix selectRowKeys for rowKey demo, ref #533 2015-11-16 15:39:40 +08:00
afc163
b3e2855333 dataSource could be null 2015-11-05 20:06:16 +08:00
afc163
90966ea1c9 empty text should be inside spin 2015-11-05 20:02:49 +08:00
afc163
19c385ce58 Fix rowSelection when change dataSource 2015-11-05 17:30:24 +08:00
afc163
30b6aeaa04 rowSelection getCheckboxProps, defaultValue should be defaultChecked 2015-11-04 17:23:20 +08:00
afc163
7a9c536569 add loading prop for table 2015-11-03 18:16:16 +08:00
afc163
a3a7854cad should spin the table content, not contain pagination 2015-11-03 17:48:56 +08:00
afc163
e0c9da599a update table loading 2015-10-31 02:12:26 +08:00
KgTong
0f4b4ae39f fix table loading when removing type attrite of spin 2015-10-27 15:15:24 +08:00
KgTong
ea0e9b7d6a fix for code review 2015-10-27 14:01:55 +08:00
KgTong
103104b256 fix conflict 2015-10-27 11:06:15 +08:00
KgTong
b9ce4c7ddf replace the table loading with spin 2015-10-27 10:34:05 +08:00
afc163
415fa383e3 unify all size prop to: large default small 2015-10-22 21:01:52 +08:00
yiminghe
fdee139459 add className for table 2015-10-22 17:28:12 +08:00
afc163
86c5ead45a Add onChange prop to Table, fix #395 2015-10-21 20:21:14 +08:00
afc163
dc47b1cd5b fix reqwest 2015-10-19 11:34:44 +08:00
afc163
d184b39450 Merge branch 'feature-#252' of https://github.com/RaoHai/ant-design into develop-0.10.0 2015-10-09 18:48:32 +08:00
RaoHai
2c1fda70d6 Table 列选择模式重构
+ 表格 `rowSelection` 支持多选
+ 表格可配置某行数据默认选中、不能选中。该配置对 ajax 载入的数据有效。
示例:
```
getCheckboxProps: function (value) {
    return {
        defaultValue: value.name === '胡彦祖ajax2', // 配置默认勾选的列
        disabled: value.name === '李大嘴ajax3'    // 配置无法勾选的列
    }
},
```
2015-10-09 17:14:09 +08:00