Commit Graph

402 Commits

Author SHA1 Message Date
Wei Zhu
af49a1806b docs: rewrite editable demo 2018-07-10 21:11:50 +08:00
Wei Zhu
d4c95e6f18 docs: remove obsolete snapshot and fix custom filter demo 2018-07-02 21:41:14 +08:00
Wei Zhu
0f2fea2d78 docs: rewrite custom filter demo with filterDropdown function 2018-07-02 19:42:27 +08:00
Christian Vadalà
59cc3a8b6c feat: adds ability to override filter renderer without migrate to a fully controlled component 2018-07-02 19:42:27 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
afc163
8e8b991ba7 demo: fix table rowKey warning 2018-06-19 10:37:37 +08:00
Wei Zhu
05251682f1 Remove window reference 2018-05-30 18:13:22 +08:00
Wei Zhu
31be3717ad Upgrade react-dnd 2018-05-30 17:56:56 +08:00
afc163
3ceb619b92 Fix and optimize table demo, close #10639 2018-05-26 00:54:30 +08:00
afc163
247d78990e demo: improve editable row demo 2018-05-23 11:32:23 +08:00
Douglas Mason
acb56281f8 fix: update "from" to "form" in code example (#10628)
update `save` method parameter from `from` to `form` in code example
2018-05-23 10:55:20 +08:00
Wei Zhu
c7c85e3d5d docs: Revert unexpected modify 2018-05-15 12:11:21 +08:00
Wei Zhu
78af67a057 docs: fix table custom search panel demo
close #10494
2018-05-15 11:58:02 +08:00
陈帅
d5c5219111 new edit Table demo (#10119)
* new edit Table demo

* fix test error

* fix ci

* typo

* Skip edit-row test for React 15

* Set column width

* Update snapshot
2018-05-07 20:50:43 +08:00
愚道
013df45a70 merge https://github.com/ant-design/ant-design/pull/10306 from feature-3.5.0 2018-05-03 16:58:50 +08:00
Ash Kumar
013932e6d3 Feature: (Issue 10213): Column 'sorter' function is passed 'sortOrder' as param (#10306)
* Table Column's sorter prop can now be provided a fn to which 'sortOrder' is passed as param

* head.md: added documentation for new use of 'sorter' prop function
2018-04-29 22:08:28 +08:00
Samuel Gaus
4bc28ac471 Update jsx.md (#10203)
Made it clear that you can't use components other than Column or ColumnGroup as children to Table.
2018-04-23 21:57:43 +08:00
afc163
3612144c6d site: avoid hash jump in demo 2018-04-11 15:15:24 +08:00
afc163
554dec3bab update table demo 2018-03-15 14:30:01 +08:00
nestoralonso
43d7be5478 Update fixed-columns.md (#9680)
Fix typo scoll.x => scroll.x
2018-03-15 10:30:23 +08:00
Wei Zhu
5e7bff8b5e Update snapshot 2018-03-02 14:12:30 +08:00
Wei Zhu
a4fea8f22c docs: Add Table pagination position to demo 2018-03-02 12:35:25 +08:00
Wei Zhu
ca6a8d13bd site: Update Table drag demo
Close #9255
2018-02-05 11:08:16 +08:00
Wei Zhu
49c2a6220b Merge branch 'feature-3.2' 2018-02-04 17:24:16 +08:00
Wei Zhu
aa88c656f1 docs: remove expaned row hover background color
Close #8775
2018-02-02 14:07:57 +08:00
mgrdevport
5fd741bf21 Pass name prop down to the table selection input (#9054) 2018-01-31 01:07:53 -06:00
Qingrong Ke
b50ca50bad docs: update head.md of Table (#9133) 2018-01-26 10:39:22 +08:00
afc163
f95cb04585 Add demo for row-click selection 2018-01-15 17:24:40 +08:00
afc163
a3271d9a03 update demo code style 2017-12-10 16:20:31 +08:00
afc163
59cb320a7b Fix searchInput undefined in demo 2017-12-03 19:10:18 +08:00
Wei Zhu
f78d33ed59
Update rc-table (#8187)
* Update rc-table

* Add table drag sorting demo
2017-11-17 18:53:07 +08:00
afc163
856ecd4ae3 Merge branch 'master' into antd-3.0 2017-11-09 19:45:06 +08:00
Graeme Yeates
8395de01a2 Add support for column defaultSortOrder (#6449) (#8111)
Fixes #6449
2017-11-09 19:30:24 +08:00
afc163
2d17d8a768 refactor edit-row demo, close #8026 2017-11-07 21:03:14 +08:00
afc163
091b84008f update demo 2017-10-26 20:39:58 +08:00
afc163
c472ed27f8 Merge branch 'master' into antd-3.0 2017-10-23 19:40:14 +08:00
Wei Zhu
d829f6c008 docs: expandedRowRender can not be boolean 2017-10-23 11:21:05 +08:00
偏右
ffffd0f4c5 Fix styles (#7924)
* update demo

* Fix styles

* fix snap

* Fix back-top ci
2017-10-18 17:16:14 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
afc163
0f778d2a4a Merge from master 2017-09-05 16:19:34 +08:00
Wei Zhu
1547b889b7 Revert "Add support for table default sort order" (#7414) 2017-09-01 14:40:29 +08:00
afc163
5a971b24ad Merge from master 2017-08-27 19:32:02 +08:00
偏右
a7200c906c Add hideDefaultSelections (#7342)
close #7295
2017-08-27 15:44:22 +08:00
afc163
ef8beaffde Merge from master 2017-08-25 22:51:14 +08:00
ddcat1115
83a02a6050 fix demo (#7327) 2017-08-25 16:37:00 +08:00
偏右
3b59a03c00 New component divider (#7261)
* Add Divider

* use Divider in table demos

* update demo instruction

* upgrade snapshots
2017-08-19 12:39:11 +08:00
Graeme Yeates
40e94945d9 Add support for table default sort order (#6449) 2017-08-07 10:40:34 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
afc163
2fe4ac1a30 update document for #7023 2017-07-31 16:55:05 +08:00
afc163
f28c328442 update code style 2017-05-24 16:19:10 +08:00
afc163
29e54c2339 fix lint in demo 2017-05-15 16:40:10 +08:00
Benjy Cui
12a6060304 docs: fix code style 2017-05-15 14:37:22 +08:00
afc163
93f7fd1c98 update table selection text and add select all demo 2017-05-03 16:19:12 +08:00
afc163
04af6d5c7f improve table demo style, close #5697 2017-04-12 20:31:31 +08:00
afc163
aaf28299ce fix table column align in demo 2017-04-05 11:51:21 +08:00
afc163
ef27e6d200 Merge branch 'master' into feature-2.9 2017-03-30 14:26:15 +08:00
afc163
51f1403e14 align table head in demo 2017-03-30 13:52:42 +08:00
afc163
f77f020517 update table filter demo, close #5439 2017-03-29 20:37:20 +08:00
陆离
15e6133867 Filter Icon of Table (#5293)
*  Filter Icon of Table

+ close #5287
+ add `isFiltered` props for mark dataSource is filterd
+ improve CustomFilter Demo

* fix doc

* update

* custome filter icon

* custome filter icon
2017-03-27 17:38:14 +08:00
feng zhi hao
8dfdce50f9 fix: improve rowSelection.selections of Table (#5409)
* improve rowSelection.selections of Table

* fix classNames spell error

* update class name
2017-03-27 10:09:38 +08:00
afc163
77b382fb1c update table demo 2017-03-27 10:09:06 +08:00
feng zhi hao
78bdbbfe93 fix: improve rowSelection.selections of Table (#5409)
* improve rowSelection.selections of Table

* fix classNames spell error

* update class name
2017-03-24 11:44:36 +08:00
afc163
106d9a70e2 update table demo 2017-03-22 20:24:48 +08:00
afc163
83df2c98af pagination in demo should be immuatable, ref #5300 2017-03-14 18:51:11 +08:00
Wei Zhu
c037abab6a Align table checkbox (#5183)
* Align table checkbox

* Don't select Item

* I18n selection text

* Update snapshot
2017-03-06 17:14:34 +08:00
Benjy Cui
fb8f90c102 feat: form (#5063)
* feat: support Form[layout], close: #5056

* feat: Form should be responsive, close: #5055

* test: update snapshot

* fix: resolve conflict betwen layout defaultValue and inline & vertical
2017-03-02 10:49:06 +08:00
afc163
376806dab8 Merge from "master" 2017-02-26 18:45:16 +08:00
feng zhi hao
6d903a6ba5 add custom selection in Table (#4962)
* add custom selection in Table

* update snapshots

* update snapshots again

* optimize selection in Table

* update test

* update snapshots

* improve test

* fix test
2017-02-23 19:29:47 +08:00
afc163
0f46eed370 fix lint 2017-02-23 11:45:48 +08:00
afc163
90699b0c42 clean up document 2017-02-22 12:33:23 +08:00
afc163
9fff177bbc update table fixed column demo description 2017-02-21 17:11:30 +08:00
afc163
23cb11fef3 update document, ref #4965 2017-02-20 17:58:51 +08:00
feng zhi hao
5303bd0a38 docs: rewrite Table demos to ES6 component (#4954) 2017-02-20 14:04:36 +08:00
afc163
8194793f9b Update demo documentation 2017-02-18 16:49:34 +08:00
Wei Zhu
2258f41f6b docs: add nested Table demo (#4887)
* Remove Table pagination demo

* Add nested table
2017-02-16 10:04:55 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
afc163
a07c71165a demo: update table demo code style 2017-02-08 14:42:33 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
de544ad21b fix useless className 2017-01-12 20:38:20 +08:00
Wei Zhu
0ff50fc79d docs: Update Table JSX api note 2017-01-12 00:03:35 +08:00
Wei Zhu
8a2b3470ef Document using Table in TypeScript (#4568)
* Allow any valid ReactElement as Table.Column

* Document using Table in TypeScript
2017-01-11 19:52:43 +08:00
afc163
3f5aebe85b Fix Table column.filteredValue null problem, ref #4550 2017-01-10 20:52:53 +08:00
afc163
088ecf18a4 cleaner demo 2017-01-10 14:09:19 +08:00
afc163
75b50e9731 wider the selection column and expand column of Table 2017-01-10 14:03:04 +08:00
Wei Zhu
42f98e6779 docs: fix typo. 2016-12-29 21:41:46 +08:00
可乐
2e4e1fcaef 避免 value 正好是数字 0 (#4401) 2016-12-29 13:42:14 +08:00
afc163
3e00fa8e64 update dynamic-settings table demo 2016-12-27 17:47:27 +08:00
Benjy Cui
62c22f31a9 docs: update demo for table 2016-12-19 16:45:58 +08:00
Sergio Crisostomo
7bc43493c1 docs: Add info about how to turn off pagination (#4285) 2016-12-19 16:37:29 +08:00
afc163
fcdc375f77 update table demo detail style 2016-12-04 17:47:45 +08:00
afc163
779a62093d group column header should be text align centered 2016-12-04 17:43:24 +08:00
afc163
2ba1e8f3ef clean table demo 2016-12-03 17:50:41 +08:00
Wei Zhu
d20572bdab test: demo snapshot testing (#3916)
* Run snapshot testing against all demos

* Split demo tests

* ignore coverage folder

* Upgrade antd-demo-jest

* enable cache

* intergate with coveralls.io

* Add node test

* Set worker to 2

https://github.com/facebook/jest/issues/1742

* config coverage

* Set default supportServerRender to true
2016-11-22 13:43:53 +08:00
Wei Zhu
ed455c01d1 feat: Implement Table.Column and Table.ColumnGroup (#3868)
* Implement Table.Column and Table.ColumnGroup

* Upgrade rc-table
2016-11-22 10:11:12 +08:00
ddcat1115
cd2a1438b7 docs: Table add editable demos (#3922) 2016-11-21 11:29:55 +08:00
ddcat1115
18dcc09751 Merge pull request #3837 from ant-design/feat-custom-table-column-filter
controlled filterDropdown props
2016-11-17 23:52:17 +08:00
afc163
9e6439b06c fix title and footer height according to Table[size] 2016-11-15 20:06:41 +08:00
afc163
ab8f8e4506 update table demo 2016-11-15 12:01:06 +08:00
afc163
a6d2de1a7b controlled filterDropdown props, close #3003 2016-11-14 17:53:02 +08:00
afc163
05213a5827 update table demos 2016-11-14 14:26:08 +08:00
Wei Zhu
0fa41ebfb9 Fix small table style (#3761)
* Tweak small table style, fix #3743

* Add checkbox switch to dynamic settings demo

* Add fixed header to dynamic settings demo
2016-11-09 20:16:57 +08:00
afc163
894a4ceb53 remove unnecessary demo (#3690) 2016-11-04 13:52:30 +08:00
Benjy Cui
81a8b65e6a docs: improve UX of demo 2016-11-03 10:27:34 +08:00
Wei Zhu
e4b6ccf7f0 docs: add dynamic setting demo for table (#3690) 2016-11-02 15:09:54 +08:00
Nathan Wells
d997dc9e1e typo (#3663) 2016-10-31 23:32:16 +08:00
Benjy Cui
dc78317688 docs: update docs of table, close: #3469 2016-10-20 11:33:53 +08:00
afc163
512796b7fe update table demo doc 2016-10-17 20:52:27 +08:00
afc163
806df6e912 update table fixed demos 2016-10-17 20:43:00 +08:00
kvetoslavnovak
7156956685 Table - basic - English translation (#3325)
* Table - basic - English translation

Correction, to same as in line with other examplets

* Update basic.md

* Update basic.md
2016-10-08 15:45:42 +08:00
afc163
20a310aa07 Merge branch 'master' of github.com:ant-design/ant-design 2016-10-06 18:54:50 +08:00
afc163
58d7741709 http => https, close #3303 2016-10-06 18:54:28 +08:00
Benjy Cui
64079f181a docs: update demos text 2016-10-02 08:55:40 +08:00
kvetoslavnovak
b3729806ef docs: Table - Fixed header - English Translation (#3278) 2016-10-02 08:47:42 +08:00
kvetoslavnovak
c2fb8f30a1 docs: Table - ajax - English Translation (#3270) 2016-10-02 08:47:13 +08:00
kvetoslavnovak
8128a94b71 docs: Table - Fixed Columns and Header - English Trans. (#3280) 2016-10-02 08:46:19 +08:00
kvetoslavnovak
d3667b8a58 docs: Table - Selection&operation - English Translation (#3267)
* Table - Selection&operation - English Translation

* Table - Selection&operation - English Translation

* Update row-selection-and-operation.md

* Update row-selection-and-operation.md
2016-10-02 08:41:53 +08:00
kvetoslavnovak
1ff8a020d1 docs: Table - Pagination - English Translation (#3268) 2016-10-02 08:41:41 +08:00
kvetoslavnovak
e76f604e25 docs: Table - Filter and sorter - English Translation (#3269) 2016-10-02 08:39:23 +08:00
kvetoslavnovak
a7b9266e10 docs: Table - size - English Translation (#3272) 2016-10-02 08:38:54 +08:00
kvetoslavnovak
27a53b5c6c docs: Table - No pagination - English Translation (#3271) 2016-10-02 08:38:34 +08:00
kvetoslavnovak
142227d3fa docs: Table - border, title and footer - English Trans. (#3273) 2016-10-02 08:38:16 +08:00
kvetoslavnovak
c0ee38b173 docs: Table - Expandable Row - English Translation (#3274) 2016-10-02 08:37:51 +08:00
kvetoslavnovak
5373f52d27 docs: Table - Loading - English Translation (#3276) 2016-10-02 08:37:14 +08:00
kvetoslavnovak
2e4e159ed8 docs: Table - colSpan and rowSpan - English Translation (#3275) 2016-10-02 08:36:10 +08:00
kvetoslavnovak
e246b99849 docs: Table - Tree data - English Translation (#3277) 2016-10-02 08:35:06 +08:00
kvetoslavnovak
54994bf136 docs: Table - Fixed columns - English Translation (#3279) 2016-10-02 08:32:27 +08:00
kvetoslavnovak
74ae8f4283 docs: Table - Grouping table head - English Translation (#3281)
* Table - Grouping table head - English Translation

* Update grouping-columns.md
2016-10-02 08:32:04 +08:00
kvetoslavnovak
e9ba1e83c7 docs: Table Basic usage - English Translation (#3256) 2016-10-01 08:03:20 +08:00
kvetoslavnovak
7a40f8f200 docs: Table selection - English Translation (#3257) 2016-10-01 08:02:18 +08:00
kvetoslavnovak
5d914d6ba3 docs: Reset filters and sorters - English Translation (#3259) 2016-10-01 08:02:01 +08:00
kvetoslavnovak
94f2d08978 docs: Table Checkbox props - English Translation (#3258) 2016-10-01 08:01:18 +08:00
Benjy Cui
87753482bf style: update code style to please lint, close: #2811 2016-09-27 10:06:34 +08:00
afc163
69cdf22b42 Allow indicate expandIconColumnIndex in Table, close #3055 2016-09-20 13:16:58 +08:00
Benjy Cui
77a45f0b00 deps: upgrade rc-table (#2958)
* feat: remove Table columns paging, close: #2883

* css: add style for table multi-header

* feat: multi-header supports fitler & sorter and so on

* feat: multi-heaader works with Table[scroll.y]

* feat: multi-header should works with Table[scroll.x]

* style: update code style to please lint
2016-09-09 13:55:41 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
afc163
24d2973c32 Merge branch "1.x-stable" 2016-08-16 17:54:59 +08:00
afc163
0670b05e50 Improve code style 2016-08-17 15:47:29 +08:00
Benjy Cui
63941ae665 docs: fix table demo format 2016-08-15 08:07:03 +08:00
偏右
0b3186696c docs: Translate table (#2594) 2016-08-15 07:54:01 +08:00
Marius Ileana
bb0a30d926 docs: table/demo/reset-filter - A little more meaningful filter (#2700) 2016-08-13 09:06:32 +08:00
afc163
dd80613cd1 Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable 2016-07-21 18:08:35 +08:00
afc163
a458de0a88 fix prefer-const 2016-07-21 18:05:15 +08:00
ddcat1115
eba54529ca table-title style (#2452) 2016-07-21 15:14:42 +08:00
afc163
5109362b04 remove old docs about dataSource 2016-07-05 15:19:22 +08:00
afc163
b42f5efea3 Fix table fixed header align, close #2227 2016-07-05 14:41:21 +08:00
afc163
2be285d236 remove nowrap in fixed Table, close #2130 2016-06-22 11:48:11 +08:00
afc163
500f3e1b30 Improve getCheckboxProps perf via caches, close ant-design/ant-design#2086 2016-06-17 17:23:48 +08:00