Commit Graph

213 Commits

Author SHA1 Message Date
afc163
c79913b896 Fix table columns key, #642 2015-12-07 16:20:52 +08:00
afc163
07e32342a0 fix demo ajax page change 2015-12-05 13:10:24 +08:00
afc163
cd8c6e7154 improve filter style, ref #413 2015-12-02 11:36:59 +08:00
afc163
9b3858adbf change filter icon 2015-11-30 14:48:33 +08:00
afc163
5e8aa0cafd Merge branch 'master' into develop-0.11.0 2015-11-27 17:28:46 +08:00
afc163
7c0c2cd18c Add rowKey tip in document 2015-11-27 15:08:56 +08:00
afc163
9e82dee23b Add rowKey tip in document 2015-11-27 14:54:25 +08:00
afc163
54474acbcc Merge branch 'develop-0.11.0' of github.com:ant-design/ant-design into develop-0.11.0 2015-11-27 12:10:36 +08:00
afc163
3992678141 update ajax demo, controll current page outside 2015-11-26 23:30:20 +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
afc163
bd14d75419 Merge pull request #584 from ant-design/feat-button-text
Add i18n for `Table` `Modal` `Popconfirm`
2015-11-26 11:59:20 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
Benjy Cui
b110b8787b docs: update demos 2015-11-24 16:39:16 +08:00
Benjy Cui
998fa8816e feat: Table should support i18n 2015-11-24 15:58:50 +08:00
afc163
21dc8811c9 update table doc 2015-11-20 17:16:56 +08:00
afc163
e058e67cb4 fix iconfont 2015-11-20 11:05:34 +08:00
afc163
ff200db6c4 fix text 2015-11-19 17:08:05 +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
57c12fa3ae Add table column className demo 2015-11-05 19:46:29 +08:00
afc163
e323b0fc24 Remove demo text 2015-11-05 19:35:21 +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
a707df5276 Add filterMultiple in table column, close #442 2015-11-03 22:32:36 +08:00
afc163
be42f5687b update loading demo 2015-11-03 22:23:31 +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
664fb92104 update rc-table 2015-11-03 17:21:51 +08:00
afc163
e0c9da599a update table loading 2015-10-31 02:12:26 +08:00
偏右
9f6ce589d6 Merge pull request #435 from KgTong/feature-spin
Feature spin
2015-10-31 00:33:06 +08:00
偏右
483446b28f Merge pull request #455 from ant-design/feature-delStyleAlign
del align
2015-10-30 16:48:11 +08:00
勤拭
cc58106186 del align 2015-10-30 16:45:10 +08:00
KgTong
b0bad43bf8 Merge remote-tracking branch 'ant/develop-0.10.0' into feature-spin 2015-10-30 13:11:39 +08:00
afc163
fee949cd04 update code style 2015-10-29 20:15:44 +08:00
afc163
3a5f301fad update code style 2015-10-29 20:14:08 +08:00
afc163
67c0e2ad0e update document 2015-10-29 20:10:44 +08:00
勤拭
7664a41f9b 调整格式 2015-10-29 17:31:47 +08:00
勤拭
6e184378bf 文档逗号改为中文格式 2015-10-29 17:03:15 +08:00
勤拭
c2e67f72ed standard format 2015-10-29 16:23:09 +08:00
勤拭
e9cfca0d89 support colspan and rowspan 2015-10-29 15:38:59 +08:00
KgTong
852377b6b3 ES6 syntax for spin demo code 2015-10-28 21:40:05 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
KgTong
2e67eae9dd Merge remote-tracking branch 'ant/develop-0.10.0' into feature-spin 2015-10-28 19:33:45 +08:00
afc163
0193df102b update table ajax demo 2015-10-27 19:37:39 +08:00
afc163
f7ef12acf1 Remove some demo 2015-10-27 19:19:09 +08:00
afc163
64b4031d7a Fix key warning in table demo 2015-10-27 17:27:11 +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
eed88125f1 Fix document 2015-10-21 10:48:58 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
afc163
dc47b1cd5b fix reqwest 2015-10-19 11:34:44 +08:00
afc163
100adfc69a update row select argument name 2015-10-10 11:35:31 +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
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
elrrrrrrr
1640a34c4c chore: 迁移 table iconfont 2015-10-02 16:31:51 +08:00
afc163
05347da926 not emit fetch when there is no dataSource change, #347 2015-09-26 00:56:15 +08:00
afc163
52b639faba Should update table data when changing pageSize
fix #317
2015-09-23 14:28:08 +08:00
afc163
88108b9fb9 Fix loading icon position in empty table 2015-09-15 11:40:58 +08:00
afc163
13ebd2d76d Fix pagination in table 2015-09-14 13:38:19 +08:00
zhujun24
af6a8d31ee optimize 2015-09-10 11:15:36 +08:00
zhujun24
95465a6794 add expand table 2015-09-10 11:04:31 +08:00
afc163
b35f85751b update table api 2015-09-09 22:37:22 +08:00
afc163
579ad01fc5 rollback for reqwest 2015-09-07 11:24:28 +08:00
afc163
b25b48b6e5 fix reqwest 2015-09-07 10:20:20 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +08:00
afc163
f7308fbb48 Replace reqwest via reqwest-without-xhr2
Fork reqwest to https://github.com/ant-design/reqwest,
Remove xhr2 dependency cause it is useless in browser side, it will
cause some bugs in different pack solutions, waiting offcial repo resolve this problem: https://github.com/ded/reqwest/issues/204

ref: #216
2015-08-31 17:31:12 +08:00
chencheng (云谦)
0c40b6af68 typo fix 2015-08-31 16:13:58 +08:00
afc163
e45fbaad7f empty table should not have pagination 2015-08-28 17:30:37 +08:00
afc163
4c54644116 Add empty style for table 2015-08-28 17:20:02 +08:00
afc163
90e8296949 Fix table key warning 2015-08-28 15:22:09 +08:00
afc163
6d2dcc4539 allow dataSourse controlled by parent in local mode 2015-08-27 23:55:25 +08:00
afc163
c799326e7f default pagination current page 2015-08-27 23:53:42 +08:00
afc163
9b8abb2199 loading should be in remote mode 2015-08-27 23:52:59 +08:00
afc163
38cbaf1239 dataSource clone config should not be overwrited by origin config, fix #200 2015-08-26 14:08:46 +08:00
afc163
c33569e4d1 ref #190 2015-08-25 18:38:34 +08:00
afc163
86c90f0109 只有 dataSource 的变化才能从外面触发新请求
另外,is-equals-shallow 的比较始终是 false,因为 props.columns 是 array
2015-08-24 21:08:00 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
cfaf31b47c update demo title 2015-08-19 11:41:44 +08:00
afc163
5264263849 Replace jQuery.ajax via reqwest, fix #142
https://github.com/ded/reqwest

need xhr2 as peerDependency
2015-08-18 14:30:55 +08:00
afc163
6b32f18f79 improve table filter dropdown 2015-08-17 18:14:39 +08:00
afc163
2eecc1071b update eslint and fix indent problems 2015-08-15 15:08:55 +08:00
afc163
f6aaefa43f remove useless code for sorter className 2015-08-12 13:04:13 +08:00
afc163
d1b581be06 fix table dataSource propTypes 2015-08-12 12:51:33 +08:00
afc163
dfff7ef86b fix sort and filter 2015-08-12 12:47:04 +08:00
yiminghe
d95d4e4aea fix sort 2015-08-12 11:50:07 +08:00
yiminghe
e24850f42d disabled prop modify 2015-08-12 11:26:36 +08:00
afc163
137e40acae bordered table 2015-08-11 20:05:52 +08:00
afc163
f5afbf16aa Improve table ajax dataSource
1. Add ajax data params support
2. improve dataSource.clone for new config
2015-08-11 16:57:17 +08:00
yiminghe
eef1da7ed6 upgrade menu 2015-08-10 17:57:28 +08:00
afc163
4c8d3994a2 improve code style 2015-08-07 10:58:15 +08:00