Commit Graph

1827 Commits

Author SHA1 Message Date
afc163
af83b2aade fix some table style detail 2016-06-01 12:07:11 +08:00
afc163
1688a8724b Use Radio in filter menu filterMultiple=false, close #1880 2016-06-01 11:46:27 +08:00
afc163
680a5b7120 improve code style 2016-06-01 11:37:13 +08:00
afc163
d8ad0b1993 Fix extra Spin in Table 2016-05-27 21:06:45 +08:00
afc163
5a87d219d7 use remote api for demo 2016-05-27 13:35:49 +08:00
Leon Shi
dbdd5c5da0 fix: throws error when filtering data with pagination set to false, close #1842 2016-05-26 15:01:50 +08:00
RaoHai
25d996d666 fix rowSelection display while some columns fixed left
+ close #1829
2016-05-25 11:37:16 +08:00
afc163
3ee8c0b604 remove table layout fixed (#1819) 2016-05-23 18:59:27 +08:00
afc163
43cf39d9a0 put icon into emptyText, close #1759 2016-05-21 18:53:49 +08:00
afc163
6944a8e7c1 Fix fixed Table align and bordered style, close #1740 2016-05-21 18:08:09 +08:00
Leon Shi
0ff91b4135 Fix Table pagination after filter, close #1669 (#1715) 2016-05-17 10:58:01 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
22af4a9592 Fix Table data.length without specifing pagination, close #1683 2016-05-13 13:49:08 +08:00
afc163
f368fdda3b Fix table className and style wrapper node 2016-05-11 14:23:06 +08:00
RaoHai
f7c9e64416 repair radio type of rowSelection in Table
close #1627
2016-05-11 11:21:00 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
d84b92926c fix table spin debounce 2016-05-09 16:11:54 +08:00
afc163
0dbf42a59c update demo 2016-05-06 20:59:09 +08:00
afc163
a1058db8df fix bordered Table 2016-05-05 16:21:51 +08:00
afc163
300e2d3121 Merge branch master into develop-1.0.0 2016-05-05 16:02:03 +08:00
afc163
154d5e028a Add expandedRowKeys for docs 2016-05-03 17:35:21 +08:00
afc163
26785a4c7d improve code style 2016-05-03 14:15:29 +08:00
Leon Shi
2228e201cc fix typo (#1548) 2016-04-29 12:15:16 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
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
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
Benjy Cui
209170e813 style: update demo code style to please 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
afc163
a222b3898b support submenu in table filter menu, ref #708 2016-01-10 21:10:10 +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
zilong
bdd47786af Update index.md
fix typo. key should be `address`
2016-01-03 14:00:50 +08:00
afc163
663e3c4231 update table demo title 2016-01-03 01:17:49 +08:00
afc163
a570b25e0a update table API doc 2016-01-01 22:55:25 +08:00
afc163
7866f177cc update table selection demo 2016-01-01 22:51:26 +08:00
afc163
76aa90f67b update document for table selection change 2016-01-01 22:38:19 +08:00
afc163
34f9ab05b0 make selected item can be controlled, #793 2016-01-01 22:34:59 +08:00
afc163
ceeae97eb8 Add rowSelection API documentation 2016-01-01 20:18:38 +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
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +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
afc163
ac337976be update table demo 2015-12-26 00:58:05 +08:00
afc163
6fa32a81b8 update demos title 2015-12-26 00:52:30 +08:00
Benjy Cui
9ef865e25e docs: update demo and documentation 2015-12-25 15:50:41 +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
e064af5eb9 update table index.md 2015-12-16 18:27:38 +08:00
afc163
e20111d918 Add table locale emptyText 2015-12-16 18:14:22 +08:00
afc163
76ecce0942 Add column key for table demo 2015-12-16 16:35:56 +08:00
afc163
5d0287615d update table index 2015-12-16 15:53:46 +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
b4789e585d filter dropdown should have max height 2015-12-10 12:13:13 +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
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
yiminghe
d60fca4993 fix datasource 2015-08-07 01:03:42 +08:00
afc163
6d2cf352c3 return promise object from fetch 2015-08-05 11:04:00 +08:00
afc163
cfaabbb825 Improve dataSource implementation
1. move advance-ajax to ajax demo
2. remove plain object dataSource support
3. use propTypes over judgement of constructor
2015-08-05 10:58:21 +08:00
逸达
b97d01f288 遵循格式要求 2015-08-05 01:44:21 +08:00
逸达
7ba8e08b5a 加入Table 远程模式支持由外界发起请求方法 2015-08-05 01:42:37 +08:00
afc163
7d0413fbb6 修复本地模式排序头状态失效 2015-07-31 12:41:42 +08:00
afc163
988bdf09bc 空的筛选项应该返回全量数据 2015-07-31 11:54:46 +08:00
afc163
a0d416d4a1 code style 2015-07-31 11:47:00 +08:00
yiminghe
cc58965426 fix table 2015-07-31 10:40:23 +08:00
afc163
6f70303e90 Fix table, 当数据量少于每页数量时,直接设置数据 2015-07-29 14:01:15 +08:00
afc163
b6fe8021f8 render when change dataSource 2015-07-28 15:20:33 +08:00
afc163
ba61ebd54b 支持动态传入分页信息 2015-07-28 14:02:18 +08:00
afc163
fb3b16ddc2 修复本地模式的 table 分页 current 页面失效的问题 2015-07-28 12:26:54 +08:00
afc163
b7d204967d Refactor node pagination code, Add noPagination demo 2015-07-27 19:58:51 +08:00
afc163
3442cc7832 fix pagination false bug 2015-07-27 19:23:51 +08:00
afc163
ea93703efb update table pagination document 2015-07-27 15:40:30 +08:00
afc163
1954586665 修复本地模式下 pagination 为 false 时数据无法显示的问题 2015-07-27 15:38:06 +08:00
ustccjw
b34269a6b1 use es6 module import/export
convert var to const

fix bug

fix bug

fix for jshint

fix import
2015-07-24 11:22:49 +08:00
ustccjw
41c35903a4 remove use strict 2015-07-23 21:36:34 +08:00
afc163
bad047a860 typo 2015-07-21 16:53:51 +08:00
afc163
01a6c0f1e6 fix table pagination false bug 2015-07-21 16:48:00 +08:00
afc163
fa9914f34a components order 2015-07-20 12:28:36 +08:00
afc163
bd4c7d4a44 fix warning in table 2015-07-16 23:16:20 +08:00
jljsj
6c99ebb170 update radio 2015-07-16 18:26:17 +08:00
afc163
f692e62560 fix checkbox in table 2015-07-16 14:41:28 +08:00
afc163
9f1fbb9ebe selectRows 2015-07-15 20:22:56 +08:00
afc163
9e785663a8 fix onSelect argument 2015-07-15 17:55:30 +08:00
afc163
91a749a810 move ant-checkbox into ant-form-item 2015-07-15 17:22:58 +08:00
afc163
b0f3a552b6 sort params 2015-07-15 14:10:01 +08:00
afc163
fe230f7084 修复清空的问题 2015-07-15 12:16:28 +08:00
afc163
aa830e0c44 update table document 2015-07-15 11:45:43 +08:00
afc163
191235fcdc fix sort table logic, only allow one column to be sorted at a time 2015-07-15 11:43:00 +08:00
afc163
35c5ac8efa update table row-selection style 2015-07-15 11:12:17 +08:00
afc163
4cd12077cb update table demos 2015-07-15 10:47:47 +08:00
afc163
40517edaeb fix markdown table in chrome 2015-07-15 10:34:07 +08:00
afc163
41525cc19b fix table loading style 2015-07-14 21:06:39 +08:00
afc163
0ac833753c update table document 2015-07-14 20:58:54 +08:00
afc163
0e7f42937f update filter dropdown function and style 2015-07-14 20:43:27 +08:00
afc163
3f3bd52d80 small table with mini pagination 2015-07-14 20:08:45 +08:00
afc163
a6661386c4 update ajax table demo 2015-07-14 20:04:14 +08:00
afc163
4d2119c358 prepare getParams arguments, filters, pagination, sorters 2015-07-14 18:29:43 +08:00
afc163
ad04649366 ajax paging table 2015-07-14 17:58:00 +08:00
afc163
17aabfa070 update paging 2015-07-14 16:34:26 +08:00
afc163
7ea054b3ff update table API, local data mode finished 2015-07-14 15:35:17 +08:00
afc163
29068a0797 update filter.md 2015-07-13 19:47:31 +08:00
afc163
e982ab46ae improve filter 2015-07-13 18:42:08 +08:00
afc163
9440eb78b8 update sorter button click behaviours 2015-07-13 17:40:17 +08:00
afc163
d843379008 finish sort function 2015-07-13 16:22:02 +08:00
afc163
b53e76afff sort demo 2015-07-13 10:29:53 +08:00
afc163
4a53d5732f checkbox column width 2015-07-12 21:23:45 +08:00
afc163
6da3a29c07 small size table 2015-07-12 18:14:17 +08:00
afc163
ed9b0c507c load datasource in table, update API 2015-07-12 17:24:03 +08:00
afc163
c6889fa259 load datasource in table 2015-07-12 17:10:06 +08:00
afc163
5757d6cc78 operation links 2015-07-12 13:15:05 +08:00
afc163
c9237c8e62 update API 2015-07-10 17:50:48 +08:00
afc163
4d2ce026ce row selection 2015-07-10 17:47:53 +08:00
afc163
a7e7663cbb update API 2015-07-10 10:34:54 +08:00
afc163
c89a0c1441 fill demos with title 2015-07-09 20:29:26 +08:00
afc163
f47b29817a import component rc-table 2015-07-09 14:51:48 +08:00
afc163
82c110ac5d Add table demos 2015-07-09 11:41:36 +08:00
afc163
4002ab3d68 更新组件文案 2015-06-26 14:42:30 +08:00
afc163
db457cbe78 有逼格占坑 2015-06-17 20:24:42 +08:00
afc163
51ac1b3617 二期组件挖坑 2015-06-15 22:01:39 +08:00