From 52968b961605098690636a099e26f11ca141c2c7 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 13 Aug 2020 22:09:56 +0800 Subject: [PATCH] test: update table snap --- antdv-demo | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 4594 ++++++++++++----- 2 files changed, 3217 insertions(+), 1379 deletions(-) diff --git a/antdv-demo b/antdv-demo index e157a5f47..5439e2148 160000 --- a/antdv-demo +++ b/antdv-demo @@ -1 +1 @@ -Subproject commit e157a5f47c6972501cbb4f5b15bad81d574977a4 +Subproject commit 5439e2148ac3f7852b2abfe3bdeb0fde8fe5b712 diff --git a/components/table/__tests__/__snapshots__/demo.test.js.snap b/components/table/__tests__/__snapshots__/demo.test.js.snap index 90d83f214..102a32f32 100644 --- a/components/table/__tests__/__snapshots__/demo.test.js.snap +++ b/components/table/__tests__/__snapshots__/demo.test.js.snap @@ -2,9 +2,11 @@ exports[`renders ./antdv-demo/docs/table/demo/ajax.md correctly 1`] = `
-
+
+
-
+
+
@@ -16,13 +18,19 @@ exports[`renders ./antdv-demo/docs/table/demo/ajax.md correctly 1`] = ` -
Name
+
Name
-
-
Gender -
-
Email -
+
+ + +
Gender +
+ + +
Email +
+ + @@ -31,17 +39,21 @@ exports[`renders ./antdv-demo/docs/table/demo/ajax.md correctly 1`] = `
- + - +

No Data

+
+ + +
@@ -52,8 +64,10 @@ exports[`renders ./antdv-demo/docs/table/demo/ajax.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/basic.md correctly 1`] = `
+
-
+
+
@@ -67,59 +81,94 @@ exports[`renders ./antdv-demo/docs/table/demo/basic.md correctly 1`] = ` -
Name -
-
Age -
-
Address -
-
Tags -
-
Action -
+
Name +
+ + +
Age +
+ + +
Address +
+ + +
Tags +
+ + +
Action +
+ + - - John Brown - 32 - New York No. 1 Lake Park - - NICE - - DEVELOPER - - Invite 一 John Brown Delete More actions + + + + John Brown + + + 32 + + + New York No. 1 Lake Park + + + NICEDEVELOPER + + + Invite 一 John BrownDelete More actions - - Jim Green - 42 - London No. 1 Lake Park - - LOSER - - Invite 一 Jim Green Delete More actions + + + + Jim Green + + + 42 + + + London No. 1 Lake Park + + + LOSER + + + Invite 一 Jim GreenDelete More actions - - Joe Black - 32 - Sidney No. 1 Lake Park - - COOL - - TEACHER - - Invite 一 Joe Black Delete More actions + + + + Joe Black + + + 32 + + + Sidney No. 1 Lake Park + + + COOLTEACHER + + + Invite 一 Joe BlackDelete More actions
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -130,11 +179,10 @@ exports[`renders ./antdv-demo/docs/table/demo/basic.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/bordered.md correctly 1`] = `
+
-
-
- Header -
+
+
Header
@@ -146,42 +194,68 @@ exports[`renders ./antdv-demo/docs/table/demo/bordered.md correctly 1`] = ` -
Name -
-
Cash Assets -
-
Address -
+
Name +
+ + +
Cash Assets +
+ + +
Address +
+ + - - John Brown - ¥300,000.00 - New York No. 1 Lake Park + + + + John Brown + + + ¥300,000.00 + + + New York No. 1 Lake Park - - Jim Green - ¥1,256,000.00 - London No. 1 Lake Park + + + + Jim Green + + + ¥1,256,000.00 + + + London No. 1 Lake Park - - Joe Black - ¥120,000.00 - Sidney No. 1 Lake Park + + + + Joe Black + + + ¥120,000.00 + + + Sidney No. 1 Lake Park
- + + + +
    -
  • + +
  • 1
  • -
  • +
@@ -192,8 +266,10 @@ exports[`renders ./antdv-demo/docs/table/demo/bordered.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/colspan-rowspan.md correctly 1`] = `
+
-
+
+
@@ -207,47 +283,95 @@ exports[`renders ./antdv-demo/docs/table/demo/colspan-rowspan.md correctly 1`] = -
Name -
-
Age -
-
Home phone -
-
Address -
+
Name +
+ + +
Age +
+ + +
Home phone +
+ + +
Address +
+ + - - John Brown - 32 - 0571-22098909 - 18889898989 - New York No. 1 Lake Park + + + + John Brown + + + 32 + + + 0571-22098909 + + + 18889898989 + + + New York No. 1 Lake Park - - Jim Green - 42 - 0571-22098333 - 18889898888 - London No. 1 Lake Park + + + + Jim Green + + + 42 + + + 0571-22098333 + + + 18889898888 + + + London No. 1 Lake Park - - Joe Black - 32 - 0575-22098909 - 18900010002 - Sidney No. 1 Lake Park + + + + Joe Black + + + 32 + + + 0575-22098909 + + + 18900010002 + + + Sidney No. 1 Lake Park - - Jim Red - 18 + + + + Jim Red + + + 18 - 18900010002 - London No. 2 Lake Park + + + 18900010002 + + + London No. 2 Lake Park - - Jake White + + + + Jake White @@ -256,12 +380,17 @@ exports[`renders ./antdv-demo/docs/table/demo/colspan-rowspan.md correctly 1`] =
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -272,8 +401,10 @@ exports[`renders ./antdv-demo/docs/table/demo/colspan-rowspan.md correctly 1`] = exports[`renders ./antdv-demo/docs/table/demo/custom-filter-panel.md correctly 1`] = `
+
-
+
+
@@ -285,68 +416,79 @@ exports[`renders ./antdv-demo/docs/table/demo/custom-filter-panel.md correctly 1 -
Name -
-
Age -
-
Address -
+
Name +
+ + +
Age +
+ + +
Address +
+ + - + - John Brown - + + John Brown - 32 - + + 32 - New York No. 1 Lake Park - + + New York No. 1 Lake Park - + - Joe Black - + + Joe Black - 42 - + + 42 - London No. 1 Lake Park - + + London No. 1 Lake Park - + - Jim Green - + + Jim Green - 32 - + + 32 - Sidney No. 1 Lake Park - + + Sidney No. 1 Lake Park - + - Jim Red - + + Jim Red - 32 - + + 32 - London No. 2 Lake Park - + + London No. 2 Lake Park
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -355,80 +497,111 @@ exports[`renders ./antdv-demo/docs/table/demo/custom-filter-panel.md correctly 1 `; exports[`renders ./antdv-demo/docs/table/demo/edit-cell.md correctly 1`] = ` -
-
-
-
-
-
- -
- - - - - - - - - - - - - + +
+
+ +
+
+ +
+ +
+
name -
age -
address -
operation -
+ + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - -
name +
+ +
age +
+ +
address +
+ +
operation +
+ +
+ + +
+
Edward King 0
+
+
+ + 32 + + London, Park Lane no. 0 + + + Delete
-
-
- Edward King 0 -
-
-
32London, Park Lane no. 0Delete
-
-
- Edward King 1 -
-
-
32London, Park Lane no. 1Delete
-
+ + + + +
+
Edward King 1
+
+ + + + 32 + + + London, Park Lane no. 1 + + + + Delete + + +
+ + + + +
    -
  • + +
  • 1
  • -
  • +
-
`; exports[`renders ./antdv-demo/docs/table/demo/edit-row.md correctly 1`] = `
+
-
+
+
@@ -441,234 +614,267 @@ exports[`renders ./antdv-demo/docs/table/demo/edit-row.md correctly 1`] = ` -
name -
-
age -
-
address -
-
operation -
+
name +
+ + +
age +
+ + +
address +
+ + +
operation +
+ + - + -
- Edrward 0 -
+ + +
Edrward 0
-
- 32 -
+ + +
32
-
- London Park no. 0 -
+ + +
London Park no. 0
- + + + - + -
- Edrward 1 -
+ + +
Edrward 1
-
- 32 -
+ + +
32
-
- London Park no. 1 -
+ + +
London Park no. 1
- + + + - + -
- Edrward 2 -
+ + +
Edrward 2
-
- 32 -
+ + +
32
-
- London Park no. 2 -
+ + +
London Park no. 2
- + + + - + -
- Edrward 3 -
+ + +
Edrward 3
-
- 32 -
+ + +
32
-
- London Park no. 3 -
+ + +
London Park no. 3
- + + + - + -
- Edrward 4 -
+ + +
Edrward 4
-
- 32 -
+ + +
32
-
- London Park no. 4 -
+ + +
London Park no. 4
- + + + - + -
- Edrward 5 -
+ + +
Edrward 5
-
- 32 -
+ + +
32
-
- London Park no. 5 -
+ + +
London Park no. 5
- + + + - + -
- Edrward 6 -
+ + +
Edrward 6
-
- 32 -
+ + +
32
-
- London Park no. 6 -
+ + +
London Park no. 6
- + + + - + -
- Edrward 7 -
+ + +
Edrward 7
-
- 32 -
+ + +
32
-
- London Park no. 7 -
+ + +
London Park no. 7
- + + + - + -
- Edrward 8 -
+ + +
Edrward 8
-
- 32 -
+ + +
32
-
- London Park no. 8 -
+ + +
London Park no. 8
- + + + - + -
- Edrward 9 -
+ + +
Edrward 9
-
- 32 -
+ + +
32
-
- London Park no. 9 -
+ + +
London Park no. 9
- + + +
+ + + +
@@ -679,8 +885,10 @@ exports[`renders ./antdv-demo/docs/table/demo/edit-row.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/ellipsis.md correctly 1`] = `
+
-
+
+
@@ -695,54 +903,107 @@ exports[`renders ./antdv-demo/docs/table/demo/ellipsis.md correctly 1`] = ` -
Name -
-
Age -
-
Address -
-
Long Column Long Column Long Column -
-
Long Column Long Column -
-
Long Column -
+
Name +
+ + +
Age +
+ + +
Address +
+ + +
Long Column Long Column Long Column +
+ + +
Long Column Long Column +
+ + +
Long Column +
+ + - - John Brown - 32 - New York No. 1 Lake Park, New York No. 1 Lake Park - New York No. 1 Lake Park, New York No. 1 Lake Park - New York No. 1 Lake Park, New York No. 1 Lake Park - New York No. 1 Lake Park, New York No. 1 Lake Park + + + + John Brown + + + 32 + + + New York No. 1 Lake Park, New York No. 1 Lake Park + + + New York No. 1 Lake Park, New York No. 1 Lake Park + + + New York No. 1 Lake Park, New York No. 1 Lake Park + + + New York No. 1 Lake Park, New York No. 1 Lake Park - - Jim Green - 42 - London No. 2 Lake Park, London No. 2 Lake Park - London No. 2 Lake Park, London No. 2 Lake Park - London No. 2 Lake Park, London No. 2 Lake Park - London No. 2 Lake Park, London No. 2 Lake Park + + + + Jim Green + + + 42 + + + London No. 2 Lake Park, London No. 2 Lake Park + + + London No. 2 Lake Park, London No. 2 Lake Park + + + London No. 2 Lake Park, London No. 2 Lake Park + + + London No. 2 Lake Park, London No. 2 Lake Park - - Joe Black - 32 - Sidney No. 1 Lake Park, Sidney No. 1 Lake Park - Sidney No. 1 Lake Park, Sidney No. 1 Lake Park - Sidney No. 1 Lake Park, Sidney No. 1 Lake Park - Sidney No. 1 Lake Park, Sidney No. 1 Lake Park + + + + Joe Black + + + 32 + + + Sidney No. 1 Lake Park, Sidney No. 1 Lake Park + + + Sidney No. 1 Lake Park, Sidney No. 1 Lake Park + + + Sidney No. 1 Lake Park, Sidney No. 1 Lake Park + + + Sidney No. 1 Lake Park, Sidney No. 1 Lake Park
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -753,8 +1014,10 @@ exports[`renders ./antdv-demo/docs/table/demo/ellipsis.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/expand.md correctly 1`] = `
+
-
+
+
@@ -768,57 +1031,102 @@ exports[`renders ./antdv-demo/docs/table/demo/expand.md correctly 1`] = ` - -
Name -
-
Age -
-
Address -
-
Action -
+ + + +
Name +
+ + +
Age +
+ + +
Address +
+ + +
Action +
+ + - + -
+
+ +
- John Brown - 32 - New York No. 1 Lake Park - Delete + + + John Brown + + + 32 + + + New York No. 1 Lake Park + + + Delete - + -
+
+ +
- Jim Green - 42 - London No. 1 Lake Park - Delete + + + Jim Green + + + 42 + + + London No. 1 Lake Park + + + Delete - + -
+
+ +
- Joe Black - 32 - Sidney No. 1 Lake Park - Delete + + + Joe Black + + + 32 + + + Sidney No. 1 Lake Park + + + Delete
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -829,8 +1137,10 @@ exports[`renders ./antdv-demo/docs/table/demo/expand.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/expand-children.md correctly 1`] = `
+
-
+
+
@@ -843,25 +1153,44 @@ exports[`renders ./antdv-demo/docs/table/demo/expand-children.md correctly 1`] = -
-
-
-
Name -
-
Age -
-
Address -
+
+ +
+
+ + +
Name +
+ + +
Age +
+ + +
Address +
+ + - - - -
John Brown sr. + + + + + +
+ +
John Brown sr. - 60 - New York No. 1 Lake Park + + + 60 + + + New York No. 1 Lake Park @@ -870,21 +1199,33 @@ exports[`renders ./antdv-demo/docs/table/demo/expand-children.md correctly 1`] = - - - Joe Black - 32 - Sidney No. 1 Lake Park + + + + + Joe Black + + + 32 + + + Sidney No. 1 Lake Park
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -895,8 +1236,10 @@ exports[`renders ./antdv-demo/docs/table/demo/expand-children.md correctly 1`] = exports[`renders ./antdv-demo/docs/table/demo/fixed-columns.md correctly 1`] = `
+
-
+
+
@@ -917,56 +1260,124 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns.md correctly 1`] = ` -
Full Name -
-
Age -
-
Column 1 -
-
Column 2 -
-
Column 3 -
-
Column 4 -
-
Column 5 -
-
Column 6
-
Column 7
-
Column 8
-
Action
+
Full Name +
+ + +
Age +
+ + +
Column 1 +
+ + +
Column 2 +
+ + +
Column 3 +
+ + +
Column 4 +
+ + +
Column 5 +
+ + +
Column 6
+ + +
Column 7
+ + +
Column 8
+ + +
Action
+ + - - John Brown - 32 - New York Park - New York Park - New York Park - New York Park - New York Park - New York Park - New York Park - New York Park - action + + + + John Brown + + + 32 + + + New York Park + + + New York Park + + + New York Park + + + New York Park + + + New York Park + + + New York Park + + + New York Park + + + New York Park + + + action - - Jim Green - 40 - London Park - London Park - London Park - London Park - London Park - London Park - London Park - London Park - action + + + + Jim Green + + + 40 + + + London Park + + + London Park + + + London Park + + + London Park + + + London Park + + + London Park + + + London Park + + + London Park + + + action
+ +
@@ -979,20 +1390,32 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns.md correctly 1`] = ` -
Full Name -
-
Age -
+
Full Name +
+ + +
Age +
+ + - - John Brown - 32 + + + + John Brown + + + 32 - - Jim Green - 40 + + + + Jim Green + + + 40 @@ -1009,16 +1432,22 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns.md correctly 1`] = ` -
Action -
+
Action +
+ + - - action + + + + action - - action + + + + action @@ -1028,9 +1457,10 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns.md correctly 1`] = `
    -
  • + +
  • 1
  • -
  • +
@@ -1041,8 +1471,10 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/fixed-columns-header.md correctly 1`] = `
+
-
+
+
@@ -1062,26 +1494,49 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns-header.md correctly -
Full Name -
-
Age -
-
Column 1 -
-
Column 2 -
-
Column 3 -
-
Column 4 -
-
Column 5 -
-
Column 6
-
Column 7
-
Column 8
-
Action
+
Full Name +
+ + +
Age +
+ + +
Column 1 +
+ + +
Column 2 +
+ + +
Column 3 +
+ + +
Column 4 +
+ + +
Column 5 +
+ + +
Column 6
+ + +
Column 7
+ + +
Column 8
+ + +
Action
+ + +
@@ -1099,140 +1554,363 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns-header.md correctly + - - Edrward 0 - 32 - London Park no. 0 - London Park no. 0 - London Park no. 0 - London Park no. 0 - London Park no. 0 - London Park no. 0 - London Park no. 0 - London Park no. 0 - action + + + + Edrward 0 + + + 32 + + + London Park no. 0 + + + London Park no. 0 + + + London Park no. 0 + + + London Park no. 0 + + + London Park no. 0 + + + London Park no. 0 + + + London Park no. 0 + + + London Park no. 0 + + + action - - Edrward 1 - 32 - London Park no. 1 - London Park no. 1 - London Park no. 1 - London Park no. 1 - London Park no. 1 - London Park no. 1 - London Park no. 1 - London Park no. 1 - action + + + + Edrward 1 + + + 32 + + + London Park no. 1 + + + London Park no. 1 + + + London Park no. 1 + + + London Park no. 1 + + + London Park no. 1 + + + London Park no. 1 + + + London Park no. 1 + + + London Park no. 1 + + + action - - Edrward 2 - 32 - London Park no. 2 - London Park no. 2 - London Park no. 2 - London Park no. 2 - London Park no. 2 - London Park no. 2 - London Park no. 2 - London Park no. 2 - action + + + + Edrward 2 + + + 32 + + + London Park no. 2 + + + London Park no. 2 + + + London Park no. 2 + + + London Park no. 2 + + + London Park no. 2 + + + London Park no. 2 + + + London Park no. 2 + + + London Park no. 2 + + + action - - Edrward 3 - 32 - London Park no. 3 - London Park no. 3 - London Park no. 3 - London Park no. 3 - London Park no. 3 - London Park no. 3 - London Park no. 3 - London Park no. 3 - action + + + + Edrward 3 + + + 32 + + + London Park no. 3 + + + London Park no. 3 + + + London Park no. 3 + + + London Park no. 3 + + + London Park no. 3 + + + London Park no. 3 + + + London Park no. 3 + + + London Park no. 3 + + + action - - Edrward 4 - 32 - London Park no. 4 - London Park no. 4 - London Park no. 4 - London Park no. 4 - London Park no. 4 - London Park no. 4 - London Park no. 4 - London Park no. 4 - action + + + + Edrward 4 + + + 32 + + + London Park no. 4 + + + London Park no. 4 + + + London Park no. 4 + + + London Park no. 4 + + + London Park no. 4 + + + London Park no. 4 + + + London Park no. 4 + + + London Park no. 4 + + + action - - Edrward 5 - 32 - London Park no. 5 - London Park no. 5 - London Park no. 5 - London Park no. 5 - London Park no. 5 - London Park no. 5 - London Park no. 5 - London Park no. 5 - action + + + + Edrward 5 + + + 32 + + + London Park no. 5 + + + London Park no. 5 + + + London Park no. 5 + + + London Park no. 5 + + + London Park no. 5 + + + London Park no. 5 + + + London Park no. 5 + + + London Park no. 5 + + + action - - Edrward 6 - 32 - London Park no. 6 - London Park no. 6 - London Park no. 6 - London Park no. 6 - London Park no. 6 - London Park no. 6 - London Park no. 6 - London Park no. 6 - action + + + + Edrward 6 + + + 32 + + + London Park no. 6 + + + London Park no. 6 + + + London Park no. 6 + + + London Park no. 6 + + + London Park no. 6 + + + London Park no. 6 + + + London Park no. 6 + + + London Park no. 6 + + + action - - Edrward 7 - 32 - London Park no. 7 - London Park no. 7 - London Park no. 7 - London Park no. 7 - London Park no. 7 - London Park no. 7 - London Park no. 7 - London Park no. 7 - action + + + + Edrward 7 + + + 32 + + + London Park no. 7 + + + London Park no. 7 + + + London Park no. 7 + + + London Park no. 7 + + + London Park no. 7 + + + London Park no. 7 + + + London Park no. 7 + + + London Park no. 7 + + + action - - Edrward 8 - 32 - London Park no. 8 - London Park no. 8 - London Park no. 8 - London Park no. 8 - London Park no. 8 - London Park no. 8 - London Park no. 8 - London Park no. 8 - action + + + + Edrward 8 + + + 32 + + + London Park no. 8 + + + London Park no. 8 + + + London Park no. 8 + + + London Park no. 8 + + + London Park no. 8 + + + London Park no. 8 + + + London Park no. 8 + + + London Park no. 8 + + + action - - Edrward 9 - 32 - London Park no. 9 - London Park no. 9 - London Park no. 9 - London Park no. 9 - London Park no. 9 - London Park no. 9 - London Park no. 9 - London Park no. 9 - action + + + + Edrward 9 + + + 32 + + + London Park no. 9 + + + London Park no. 9 + + + London Park no. 9 + + + London Park no. 9 + + + London Park no. 9 + + + London Park no. 9 + + + London Park no. 9 + + + London Park no. 9 + + + action
+ +
@@ -1243,12 +1921,17 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns-header.md correctly -
Full Name -
-
Age -
+
Full Name +
+ + +
Age +
+ + +
@@ -1258,46 +1941,87 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns-header.md correctly + - - Edrward 0 - 32 + + + + Edrward 0 + + + 32 - - Edrward 1 - 32 + + + + Edrward 1 + + + 32 - - Edrward 2 - 32 + + + + Edrward 2 + + + 32 - - Edrward 3 - 32 + + + + Edrward 3 + + + 32 - - Edrward 4 - 32 + + + + Edrward 4 + + + 32 - - Edrward 5 - 32 + + + + Edrward 5 + + + 32 - - Edrward 6 - 32 + + + + Edrward 6 + + + 32 - - Edrward 7 - 32 + + + + Edrward 7 + + + 32 - - Edrward 8 - 32 + + + + Edrward 8 + + + 32 - - Edrward 9 - 32 + + + + Edrward 9 + + + 32 @@ -1312,10 +2036,13 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns-header.md correctly -
Action -
+
Action +
+ + +
@@ -1324,36 +2051,57 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns-header.md correctly + - - action + + + + action - - action + + + + action - - action + + + + action - - action + + + + action - - action + + + + action - - action + + + + action - - action + + + + action - - action + + + + action - - action + + + + action - - action + + + + action @@ -1363,17 +2111,18 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns-header.md correctly
@@ -1384,8 +2133,10 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-columns-header.md correctly exports[`renders ./antdv-demo/docs/table/demo/fixed-header.md correctly 1`] = `
+
-
+
+
@@ -1397,14 +2148,21 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-header.md correctly 1`] = ` -
Name -
-
Age -
-
Address -
+
Name +
+ + +
Age +
+ + +
Address +
+ + +
@@ -1414,268 +2172,574 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-header.md correctly 1`] = ` + - - Edward King 0 - 32 - London, Park Lane no. 0 + + + + Edward King 0 + + + 32 + + + London, Park Lane no. 0 - - Edward King 1 - 32 - London, Park Lane no. 1 + + + + Edward King 1 + + + 32 + + + London, Park Lane no. 1 - - Edward King 2 - 32 - London, Park Lane no. 2 + + + + Edward King 2 + + + 32 + + + London, Park Lane no. 2 - - Edward King 3 - 32 - London, Park Lane no. 3 + + + + Edward King 3 + + + 32 + + + London, Park Lane no. 3 - - Edward King 4 - 32 - London, Park Lane no. 4 + + + + Edward King 4 + + + 32 + + + London, Park Lane no. 4 - - Edward King 5 - 32 - London, Park Lane no. 5 + + + + Edward King 5 + + + 32 + + + London, Park Lane no. 5 - - Edward King 6 - 32 - London, Park Lane no. 6 + + + + Edward King 6 + + + 32 + + + London, Park Lane no. 6 - - Edward King 7 - 32 - London, Park Lane no. 7 + + + + Edward King 7 + + + 32 + + + London, Park Lane no. 7 - - Edward King 8 - 32 - London, Park Lane no. 8 + + + + Edward King 8 + + + 32 + + + London, Park Lane no. 8 - - Edward King 9 - 32 - London, Park Lane no. 9 + + + + Edward King 9 + + + 32 + + + London, Park Lane no. 9 - - Edward King 10 - 32 - London, Park Lane no. 10 + + + + Edward King 10 + + + 32 + + + London, Park Lane no. 10 - - Edward King 11 - 32 - London, Park Lane no. 11 + + + + Edward King 11 + + + 32 + + + London, Park Lane no. 11 - - Edward King 12 - 32 - London, Park Lane no. 12 + + + + Edward King 12 + + + 32 + + + London, Park Lane no. 12 - - Edward King 13 - 32 - London, Park Lane no. 13 + + + + Edward King 13 + + + 32 + + + London, Park Lane no. 13 - - Edward King 14 - 32 - London, Park Lane no. 14 + + + + Edward King 14 + + + 32 + + + London, Park Lane no. 14 - - Edward King 15 - 32 - London, Park Lane no. 15 + + + + Edward King 15 + + + 32 + + + London, Park Lane no. 15 - - Edward King 16 - 32 - London, Park Lane no. 16 + + + + Edward King 16 + + + 32 + + + London, Park Lane no. 16 - - Edward King 17 - 32 - London, Park Lane no. 17 + + + + Edward King 17 + + + 32 + + + London, Park Lane no. 17 - - Edward King 18 - 32 - London, Park Lane no. 18 + + + + Edward King 18 + + + 32 + + + London, Park Lane no. 18 - - Edward King 19 - 32 - London, Park Lane no. 19 + + + + Edward King 19 + + + 32 + + + London, Park Lane no. 19 - - Edward King 20 - 32 - London, Park Lane no. 20 + + + + Edward King 20 + + + 32 + + + London, Park Lane no. 20 - - Edward King 21 - 32 - London, Park Lane no. 21 + + + + Edward King 21 + + + 32 + + + London, Park Lane no. 21 - - Edward King 22 - 32 - London, Park Lane no. 22 + + + + Edward King 22 + + + 32 + + + London, Park Lane no. 22 - - Edward King 23 - 32 - London, Park Lane no. 23 + + + + Edward King 23 + + + 32 + + + London, Park Lane no. 23 - - Edward King 24 - 32 - London, Park Lane no. 24 + + + + Edward King 24 + + + 32 + + + London, Park Lane no. 24 - - Edward King 25 - 32 - London, Park Lane no. 25 + + + + Edward King 25 + + + 32 + + + London, Park Lane no. 25 - - Edward King 26 - 32 - London, Park Lane no. 26 + + + + Edward King 26 + + + 32 + + + London, Park Lane no. 26 - - Edward King 27 - 32 - London, Park Lane no. 27 + + + + Edward King 27 + + + 32 + + + London, Park Lane no. 27 - - Edward King 28 - 32 - London, Park Lane no. 28 + + + + Edward King 28 + + + 32 + + + London, Park Lane no. 28 - - Edward King 29 - 32 - London, Park Lane no. 29 + + + + Edward King 29 + + + 32 + + + London, Park Lane no. 29 - - Edward King 30 - 32 - London, Park Lane no. 30 + + + + Edward King 30 + + + 32 + + + London, Park Lane no. 30 - - Edward King 31 - 32 - London, Park Lane no. 31 + + + + Edward King 31 + + + 32 + + + London, Park Lane no. 31 - - Edward King 32 - 32 - London, Park Lane no. 32 + + + + Edward King 32 + + + 32 + + + London, Park Lane no. 32 - - Edward King 33 - 32 - London, Park Lane no. 33 + + + + Edward King 33 + + + 32 + + + London, Park Lane no. 33 - - Edward King 34 - 32 - London, Park Lane no. 34 + + + + Edward King 34 + + + 32 + + + London, Park Lane no. 34 - - Edward King 35 - 32 - London, Park Lane no. 35 + + + + Edward King 35 + + + 32 + + + London, Park Lane no. 35 - - Edward King 36 - 32 - London, Park Lane no. 36 + + + + Edward King 36 + + + 32 + + + London, Park Lane no. 36 - - Edward King 37 - 32 - London, Park Lane no. 37 + + + + Edward King 37 + + + 32 + + + London, Park Lane no. 37 - - Edward King 38 - 32 - London, Park Lane no. 38 + + + + Edward King 38 + + + 32 + + + London, Park Lane no. 38 - - Edward King 39 - 32 - London, Park Lane no. 39 + + + + Edward King 39 + + + 32 + + + London, Park Lane no. 39 - - Edward King 40 - 32 - London, Park Lane no. 40 + + + + Edward King 40 + + + 32 + + + London, Park Lane no. 40 - - Edward King 41 - 32 - London, Park Lane no. 41 + + + + Edward King 41 + + + 32 + + + London, Park Lane no. 41 - - Edward King 42 - 32 - London, Park Lane no. 42 + + + + Edward King 42 + + + 32 + + + London, Park Lane no. 42 - - Edward King 43 - 32 - London, Park Lane no. 43 + + + + Edward King 43 + + + 32 + + + London, Park Lane no. 43 - - Edward King 44 - 32 - London, Park Lane no. 44 + + + + Edward King 44 + + + 32 + + + London, Park Lane no. 44 - - Edward King 45 - 32 - London, Park Lane no. 45 + + + + Edward King 45 + + + 32 + + + London, Park Lane no. 45 - - Edward King 46 - 32 - London, Park Lane no. 46 + + + + Edward King 46 + + + 32 + + + London, Park Lane no. 46 - - Edward King 47 - 32 - London, Park Lane no. 47 + + + + Edward King 47 + + + 32 + + + London, Park Lane no. 47 - - Edward King 48 - 32 - London, Park Lane no. 48 + + + + Edward King 48 + + + 32 + + + London, Park Lane no. 48 - - Edward King 49 - 32 - London, Park Lane no. 49 + + + + Edward King 49 + + + 32 + + + London, Park Lane no. 49
+ +
+ +
    -
  • + +
  • 1
  • 2
  • -
  • +
@@ -1686,12 +2750,14 @@ exports[`renders ./antdv-demo/docs/table/demo/fixed-header.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/grouping-columns.md correctly 1`] = `
+
-
+
+
- +
@@ -1704,37 +2770,62 @@ exports[`renders ./antdv-demo/docs/table/demo/grouping-columns.md correctly 1`] - - - - + + + + - - - - + + + + + + - - + + - - + + +
Name -
Other -
Company -
Gender -
Name +
+ +
Other +
+ +
Company +
+ +
Gender +
+ +
Age
+
Age
-
Address -
Company Address
Company Name
Address +
+ +
Company Address
+ +
Company Name
+ +
Street
Block
Street
+ +
Block
+ +
Building
Door No.
Building
+ +
Door No.
+ +
- +
@@ -1745,110 +2836,273 @@ exports[`renders ./antdv-demo/docs/table/demo/grouping-columns.md correctly 1`] + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + +
John Brown1Lake ParkC2035Lake Street 42SoftLake CoM
+ + John Brown + + 1 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M
John Brown2Lake ParkC2035Lake Street 42SoftLake CoM
+ + John Brown + + 2 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M
John Brown3Lake ParkC2035Lake Street 42SoftLake CoM
+ + John Brown + + 3 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M
John Brown4Lake ParkC2035Lake Street 42SoftLake CoM
+ + John Brown + + 4 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M
John Brown5Lake ParkC2035Lake Street 42SoftLake CoM
+ + John Brown + + 5 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M
John Brown6Lake ParkC2035Lake Street 42SoftLake CoM
+ + John Brown + + 6 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M
John Brown7Lake ParkC2035Lake Street 42SoftLake CoM
+ + John Brown + + 7 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M
John Brown8Lake ParkC2035Lake Street 42SoftLake CoM
+ + John Brown + + 8 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M
John Brown9Lake ParkC2035Lake Street 42SoftLake CoM
+ + John Brown + + 9 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M
John Brown10Lake ParkC2035Lake Street 42SoftLake CoM
+ + John Brown + + 10 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M
+ +
@@ -1858,10 +3112,13 @@ exports[`renders ./antdv-demo/docs/table/demo/grouping-columns.md correctly 1`] -
Name -
+
Name +
+ + +
@@ -1870,36 +3127,57 @@ exports[`renders ./antdv-demo/docs/table/demo/grouping-columns.md correctly 1`] + - - John Brown + + + + John Brown - - John Brown + + + + John Brown - - John Brown + + + + John Brown - - John Brown + + + + John Brown - - John Brown + + + + John Brown - - John Brown + + + + John Brown - - John Brown + + + + John Brown - - John Brown + + + + John Brown - - John Brown + + + + John Brown - - John Brown + + + + John Brown @@ -1914,10 +3192,13 @@ exports[`renders ./antdv-demo/docs/table/demo/grouping-columns.md correctly 1`] -
Gender -
+
Gender +
+ + +
@@ -1926,36 +3207,57 @@ exports[`renders ./antdv-demo/docs/table/demo/grouping-columns.md correctly 1`] + - - M + + + + M - - M + + + + M - - M + + + + M - - M + + + + M - - M + + + + M - - M + + + + M - - M + + + + M - - M + + + + M - - M + + + + M - - M + + + + M @@ -1965,17 +3267,18 @@ exports[`renders ./antdv-demo/docs/table/demo/grouping-columns.md correctly 1`]
@@ -1986,8 +3289,10 @@ exports[`renders ./antdv-demo/docs/table/demo/grouping-columns.md correctly 1`] exports[`renders ./antdv-demo/docs/table/demo/head.md correctly 1`] = `
+
-
+
+
@@ -1999,47 +3304,82 @@ exports[`renders ./antdv-demo/docs/table/demo/head.md correctly 1`] = ` -
Name
+
Name
-
-
Age
+
+ + +
Age
-
-
Address
+
+ + +
Address
-
+
+ + - - Jim Green - 42 - London No. 1 Lake Park + + + + Jim Green + + + 42 + + + London No. 1 Lake Park - - John Brown - 32 - New York No. 1 Lake Park + + + + John Brown + + + 32 + + + New York No. 1 Lake Park - - Joe Black - 32 - Sidney No. 1 Lake Park + + + + Joe Black + + + 32 + + + Sidney No. 1 Lake Park - - Jim Red - 32 - London No. 2 Lake Park + + + + Jim Red + + + 32 + + + London No. 2 Lake Park
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -2048,10 +3388,12 @@ exports[`renders ./antdv-demo/docs/table/demo/head.md correctly 1`] = ` `; exports[`renders ./antdv-demo/docs/table/demo/nested-table.md correctly 1`] = ` -
+
+
-
+
+
@@ -2068,71 +3410,140 @@ exports[`renders ./antdv-demo/docs/table/demo/nested-table.md correctly 1`] = ` - -
Name -
-
Platform -
-
Version -
-
Upgraded -
-
Creator -
-
Date -
-
Action
+ + + +
Name +
+ + +
Platform +
+ + +
Version +
+ + +
Upgraded +
+ + +
Creator +
+ + +
Date +
+ + +
Action
+ + - + -
+
+ +
- Screem - iOS - 10.3.4.5654 - 500 - Jack - 2014-12-24 23:12:00 - Publish + + + Screem + + + iOS + + + 10.3.4.5654 + + + 500 + + + Jack + + + 2014-12-24 23:12:00 + + + Publish - + -
+
+ +
- Screem - iOS - 10.3.4.5654 - 500 - Jack - 2014-12-24 23:12:00 - Publish + + + Screem + + + iOS + + + 10.3.4.5654 + + + 500 + + + Jack + + + 2014-12-24 23:12:00 + + + Publish - + -
+
+ +
- Screem - iOS - 10.3.4.5654 - 500 - Jack - 2014-12-24 23:12:00 - Publish + + + Screem + + + iOS + + + 10.3.4.5654 + + + 500 + + + Jack + + + 2014-12-24 23:12:00 + + + Publish
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -2142,11 +3553,16 @@ exports[`renders ./antdv-demo/docs/table/demo/nested-table.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/reset-filter.md correctly 1`] = `
-
+
+
-
+
+
@@ -2158,47 +3574,82 @@ exports[`renders ./antdv-demo/docs/table/demo/reset-filter.md correctly 1`] = ` -
Name
+
Name
-
-
Age
+
+ + +
Age
-
-
Address
+
+ + +
Address
-
+
+ + - - John Brown - 32 - New York No. 1 Lake Park + + + + John Brown + + + 32 + + + New York No. 1 Lake Park - - Jim Green - 42 - London No. 1 Lake Park + + + + Jim Green + + + 42 + + + London No. 1 Lake Park - - Joe Black - 32 - Sidney No. 1 Lake Park + + + + Joe Black + + + 32 + + + Sidney No. 1 Lake Park - - Jim Red - 32 - London No. 2 Lake Park + + + + Jim Red + + + 32 + + + London No. 2 Lake Park
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -2210,8 +3661,10 @@ exports[`renders ./antdv-demo/docs/table/demo/reset-filter.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/row-selection.md correctly 1`] = `
+
-
+
+
@@ -2224,51 +3677,102 @@ exports[`renders ./antdv-demo/docs/table/demo/row-selection.md correctly 1`] = ` -
-
-
-
Name -
-
Age -
-
Address -
+
+ +
+
+ + +
Name +
+ + +
Age +
+ + +
Address +
+ + - - - John Brown - 32 - New York No. 1 Lake Park + + + + + + + John Brown + + + 32 + + + New York No. 1 Lake Park - - - Jim Green - 42 - London No. 1 Lake Park + + + + + + + Jim Green + + + 42 + + + London No. 1 Lake Park - - - Joe Black - 32 - Sidney No. 1 Lake Park + + + + + + + Joe Black + + + 32 + + + Sidney No. 1 Lake Park - - - Disabled User - 99 - Sidney No. 1 Lake Park + + + + + + + Disabled User + + + 99 + + + Sidney No. 1 Lake Park
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -2278,11 +3782,14 @@ exports[`renders ./antdv-demo/docs/table/demo/row-selection.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/row-selection-and-operation.md correctly 1`] = `
-
+
+
-
+
+
@@ -2295,91 +3802,196 @@ exports[`renders ./antdv-demo/docs/table/demo/row-selection-and-operation.md cor -
-
-
-
Name -
-
Age -
-
Address -
+
+ +
+
+ + +
Name +
+ + +
Age +
+ + +
Address +
+ + - - - Edward King 0 - 32 - London, Park Lane no. 0 + + + + + + + Edward King 0 + + + 32 + + + London, Park Lane no. 0 - - - Edward King 1 - 32 - London, Park Lane no. 1 + + + + + + + Edward King 1 + + + 32 + + + London, Park Lane no. 1 - - - Edward King 2 - 32 - London, Park Lane no. 2 + + + + + + + Edward King 2 + + + 32 + + + London, Park Lane no. 2 - - - Edward King 3 - 32 - London, Park Lane no. 3 + + + + + + + Edward King 3 + + + 32 + + + London, Park Lane no. 3 - - - Edward King 4 - 32 - London, Park Lane no. 4 + + + + + + + Edward King 4 + + + 32 + + + London, Park Lane no. 4 - - - Edward King 5 - 32 - London, Park Lane no. 5 + + + + + + + Edward King 5 + + + 32 + + + London, Park Lane no. 5 - - - Edward King 6 - 32 - London, Park Lane no. 6 + + + + + + + Edward King 6 + + + 32 + + + London, Park Lane no. 6 - - - Edward King 7 - 32 - London, Park Lane no. 7 + + + + + + + Edward King 7 + + + 32 + + + London, Park Lane no. 7 - - - Edward King 8 - 32 - London, Park Lane no. 8 + + + + + + + Edward King 8 + + + 32 + + + London, Park Lane no. 8 - - - Edward King 9 - 32 - London, Park Lane no. 9 + + + + + + + Edward King 9 + + + 32 + + + London, Park Lane no. 9
+ + + +
@@ -2391,8 +4003,10 @@ exports[`renders ./antdv-demo/docs/table/demo/row-selection-and-operation.md cor exports[`renders ./antdv-demo/docs/table/demo/row-selection-custom.md correctly 1`] = `
+
-
+
+
@@ -2405,92 +4019,197 @@ exports[`renders ./antdv-demo/docs/table/demo/row-selection-custom.md correctly -
-
-
-
-
Name -
-
Age -
-
Address -
+
+ +
+
+
+ + +
Name +
+ + +
Age +
+ + +
Address +
+ + - - - Edward King 0 - 32 - London, Park Lane no. 0 + + + + + + + Edward King 0 + + + 32 + + + London, Park Lane no. 0 - - - Edward King 1 - 32 - London, Park Lane no. 1 + + + + + + + Edward King 1 + + + 32 + + + London, Park Lane no. 1 - - - Edward King 2 - 32 - London, Park Lane no. 2 + + + + + + + Edward King 2 + + + 32 + + + London, Park Lane no. 2 - - - Edward King 3 - 32 - London, Park Lane no. 3 + + + + + + + Edward King 3 + + + 32 + + + London, Park Lane no. 3 - - - Edward King 4 - 32 - London, Park Lane no. 4 + + + + + + + Edward King 4 + + + 32 + + + London, Park Lane no. 4 - - - Edward King 5 - 32 - London, Park Lane no. 5 + + + + + + + Edward King 5 + + + 32 + + + London, Park Lane no. 5 - - - Edward King 6 - 32 - London, Park Lane no. 6 + + + + + + + Edward King 6 + + + 32 + + + London, Park Lane no. 6 - - - Edward King 7 - 32 - London, Park Lane no. 7 + + + + + + + Edward King 7 + + + 32 + + + London, Park Lane no. 7 - - - Edward King 8 - 32 - London, Park Lane no. 8 + + + + + + + Edward King 8 + + + 32 + + + London, Park Lane no. 8 - - - Edward King 9 - 32 - London, Park Lane no. 9 + + + + + + + Edward King 9 + + + 32 + + + London, Park Lane no. 9
+ + + +
@@ -2503,8 +4222,10 @@ exports[`renders ./antdv-demo/docs/table/demo/size.md correctly 1`] = `

Middle size table

+
-
+
+
@@ -2516,39 +4237,68 @@ exports[`renders ./antdv-demo/docs/table/demo/size.md correctly 1`] = ` -
Name -
-
Age -
-
Address -
+
Name +
+ + +
Age +
+ + +
Address +
+ + - - John Brown - 32 - New York No. 1 Lake Park + + + + John Brown + + + 32 + + + New York No. 1 Lake Park - - Jim Green - 42 - London No. 1 Lake Park + + + + Jim Green + + + 42 + + + London No. 1 Lake Park - - Joe Black - 32 - Sidney No. 1 Lake Park + + + + Joe Black + + + 32 + + + Sidney No. 1 Lake Park
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -2557,8 +4307,10 @@ exports[`renders ./antdv-demo/docs/table/demo/size.md correctly 1`] = `

Small size table

+
-
+
+
@@ -2570,39 +4322,68 @@ exports[`renders ./antdv-demo/docs/table/demo/size.md correctly 1`] = ` -
Name -
-
Age -
-
Address -
+
Name +
+ + +
Age +
+ + +
Address +
+ + - - John Brown - 32 - New York No. 1 Lake Park + + + + John Brown + + + 32 + + + New York No. 1 Lake Park - - Jim Green - 42 - London No. 1 Lake Park + + + + Jim Green + + + 42 + + + London No. 1 Lake Park - - Joe Black - 32 - Sidney No. 1 Lake Park + + + + Joe Black + + + 32 + + + Sidney No. 1 Lake Park
+ + + +
    -
  • + +
  • 1
  • -
  • +
@@ -2614,8 +4395,10 @@ exports[`renders ./antdv-demo/docs/table/demo/size.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/table/demo/template.md correctly 1`] = `
+
-
+
+
@@ -2630,57 +4413,112 @@ exports[`renders ./antdv-demo/docs/table/demo/template.md correctly 1`] = ` -
Name -
-
Age -
-
Address -
-
Tags -
-
Action -
+
Name +
+ + +
Age +
+ + +
Address +
+ + +
Tags +
+ + +
Action +
+ + -
First Name -
-
Last Name
+
First Name +
+ + +
Last Name
+ + - - John - Brown - 32 - New York No. 1 Lake Park - nicedeveloper - Action 一 John Delete + + + + John + + + Brown + + + 32 + + + New York No. 1 Lake Park + + + nicedeveloper + + + Action 一 JohnDelete - - Jim - Green - 42 - London No. 1 Lake Park - loser - Action 一 Jim Delete + + + + Jim + + + Green + + + 42 + + + London No. 1 Lake Park + + + loser + + + Action 一 JimDelete - - Joe - Black - 32 - Sidney No. 1 Lake Park - coolteacher - Action 一 Joe Delete + + + + Joe + + + Black + + + 32 + + + Sidney No. 1 Lake Park + + + coolteacher + + + Action 一 JoeDelete
+ + + +
    -
  • + +
  • 1
  • -
  • +