diff --git a/components/locale-provider/__tests__/__snapshots__/demo.test.js.snap b/components/locale-provider/__tests__/__snapshots__/demo.test.js.snap index fc2cb83085..b3d81ce1cc 100644 --- a/components/locale-provider/__tests__/__snapshots__/demo.test.js.snap +++ b/components/locale-provider/__tests__/__snapshots__/demo.test.js.snap @@ -1148,48 +1148,54 @@ exports[`test renders ./components/locale-provider/demo/all.md correctly 1`] = `
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- -
- - - - - - - - - - - - -
- - Name - - - - - Age - -
-
-
+ class="ant-table ant-table-large ant-table-empty ant-table-scroll-position-left">
- No Data + class="ant-table-content"> +
+ +
+ + + + + + + + + + + + +
+ + Name + + + + + Age + +
+
+
+
+ No Data +
+
diff --git a/components/table/Table.tsx b/components/table/Table.tsx index eb49ab8554..58e3b90c9d 100755 --- a/components/table/Table.tsx +++ b/components/table/Table.tsx @@ -875,16 +875,15 @@ export default class Table extends React.Component, any> { const paginationPatchClass = (this.hasPagination() && data && data.length !== 0) ? `${prefixCls}-with-pagination` : `${prefixCls}-without-pagination`; - const tableWithSpin = loading ? ( - - {table} - {this.renderPagination()} - - ) : [table, this.renderPagination()]; - return (
- {tableWithSpin} + + {table} + {this.renderPagination()} +
); } diff --git a/components/table/__tests__/__snapshots__/Table.filter.test.js.snap b/components/table/__tests__/__snapshots__/Table.filter.test.js.snap index 36f540c5b9..f8e9ebc4bd 100644 --- a/components/table/__tests__/__snapshots__/Table.filter.test.js.snap +++ b/components/table/__tests__/__snapshots__/Table.filter.test.js.snap @@ -16,79 +16,85 @@ exports[`Table.filter renders filter correctly 1`] = `
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- + class="ant-table ant-table-large ant-table-scroll-position-left"> +
- - - - - - - - - - - - - - - - - - - - - - - -
- - Name - - -
- - Jack -
- - Lucy -
- - Tom -
- - Jerry -
+ class=""> + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + Name + + +
+ + Jack +
+ + Lucy +
+ + Tom +
+ + Jerry +
+
+
- +
diff --git a/components/table/__tests__/__snapshots__/Table.pagination.test.js.snap b/components/table/__tests__/__snapshots__/Table.pagination.test.js.snap index b1d6a64b0e..7f9cc31abc 100644 --- a/components/table/__tests__/__snapshots__/Table.pagination.test.js.snap +++ b/components/table/__tests__/__snapshots__/Table.pagination.test.js.snap @@ -2,86 +2,92 @@ exports[`Table.pagination renders pagination correctly 1`] = `
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- + class="ant-table ant-table-large ant-table-scroll-position-left"> +
- - - - - - - - - - - - - - - - - -
- - Name - -
- - Jack -
- - Lucy -
+ class=""> + +
+ + + + + + + + + + + + + + + + + +
+ + Name + +
+ + Jack +
+ + Lucy +
+
+
- +
+
-
`; diff --git a/components/table/__tests__/__snapshots__/Table.test.js.snap b/components/table/__tests__/__snapshots__/Table.test.js.snap index 3e637c0346..8d4fc3e352 100644 --- a/components/table/__tests__/__snapshots__/Table.test.js.snap +++ b/components/table/__tests__/__snapshots__/Table.test.js.snap @@ -2,96 +2,102 @@ exports[`Table renders JSX correctly 1`] = `
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- + class="ant-table ant-table-large ant-table-scroll-position-left"> +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Name - - - - Age - -
- - First Name - - - - Last Name - -
- - John - - Brown - - 32 -
- - Jim - - Green - - 42 -
+ class=""> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Name + + + + Age + +
+ + First Name + + + + Last Name + +
+ + John + + Brown + + 32 +
+ + Jim + + Green + + 42 +
+
+
- +
diff --git a/components/table/__tests__/__snapshots__/demo.test.js.snap b/components/table/__tests__/__snapshots__/demo.test.js.snap index f06d3b70fd..0da7c20948 100644 --- a/components/table/__tests__/__snapshots__/demo.test.js.snap +++ b/components/table/__tests__/__snapshots__/demo.test.js.snap @@ -2,76 +2,82 @@ exports[`test renders ./components/table/demo/ajax.md correctly 1`] = `
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- -
- - - - - - - - - - - - - - -
- - Name -
- - - - - - -
-
-
- - Gender - - - - - Email - -
-
-
+ class="ant-table ant-table-large ant-table-empty ant-table-scroll-position-left">
- - - 暂无数据 - + class="ant-table-content"> +
+ +
+ + + + + + + + + + + + + + +
+ + Name +
+ + + + + + +
+
+
+ + Gender + + + + + Email + +
+
+
+
+ + + 暂无数据 + +
+
@@ -83,216 +89,222 @@ exports[`test renders ./components/table/demo/basic.md correctly 1`] = `
-
`; @@ -300,145 +312,151 @@ exports[`test renders ./components/table/demo/bordered.md correctly 1`] = `
-
`; @@ -446,210 +464,216 @@ exports[`test renders ./components/table/demo/colspan-rowspan.md correctly 1`] =
-
`; @@ -657,149 +681,155 @@ exports[`test renders ./components/table/demo/custom-filter-panel.md correctly 1
-
`; @@ -1080,745 +1110,751 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
+ class="ant-spin-nested-loading">
- Here is title -
-
+ class="ant-spin-container">
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - Name - - - - Age - - - - Address - - - - Action - -
- - - - - - - - John Brown - - - 12 - - New York No. 1 Lake Park - - - - Action 一 John Brown - - - - Delete - - - - More actions - - - -
- - - - - - - - John Brown - - - 22 - - New York No. 2 Lake Park - - - - Action 一 John Brown - - - - Delete - - - - More actions - - - -
- - - - - - - - John Brown - - - 32 - - New York No. 3 Lake Park - - - - Action 一 John Brown - - - - Delete - - - - More actions - - - -
- - - - - - - - John Brown - - - 42 - - New York No. 4 Lake Park - - - - Action 一 John Brown - - - - Delete - - - - More actions - - - -
- - - - - - - - John Brown - - - 52 - - New York No. 5 Lake Park - - - - Action 一 John Brown - - - - Delete - - - - More actions - - - -
- - - - - - - - John Brown - - - 62 - - New York No. 6 Lake Park - - - - Action 一 John Brown - - - - Delete - - - - More actions - - - -
- - - - - - - - John Brown - - - 72 - - New York No. 7 Lake Park - - - - Action 一 John Brown - - - - Delete - - - - More actions - - - -
- - - - - - - - John Brown - - - 82 - - New York No. 8 Lake Park - - - - Action 一 John Brown - - - - Delete - - - - More actions - - - -
- - - - - - - - John Brown - - - 92 - - New York No. 9 Lake Park - - - - Action 一 John Brown - - - - Delete - - - - More actions - - - -
- - - - - - - - John Brown - - - 102 - - New York No. 10 Lake Park - - - - Action 一 John Brown - - - - Delete - - - - More actions - - - -
-
-
+ class="ant-table ant-table-default ant-table-scroll-position-left"> +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + Name + + + + Age + + + + Address + + + + Action + +
+ + + + + + + + John Brown + + + 12 + + New York No. 1 Lake Park + + + + Action 一 John Brown + + + + Delete + + + + More actions + + + +
+ + + + + + + + John Brown + + + 22 + + New York No. 2 Lake Park + + + + Action 一 John Brown + + + + Delete + + + + More actions + + + +
+ + + + + + + + John Brown + + + 32 + + New York No. 3 Lake Park + + + + Action 一 John Brown + + + + Delete + + + + More actions + + + +
+ + + + + + + + John Brown + + + 42 + + New York No. 4 Lake Park + + + + Action 一 John Brown + + + + Delete + + + + More actions + + + +
+ + + + + + + + John Brown + + + 52 + + New York No. 5 Lake Park + + + + Action 一 John Brown + + + + Delete + + + + More actions + + + +
+ + + + + + + + John Brown + + + 62 + + New York No. 6 Lake Park + + + + Action 一 John Brown + + + + Delete + + + + More actions + + + +
+ + + + + + + + John Brown + + + 72 + + New York No. 7 Lake Park + + + + Action 一 John Brown + + + + Delete + + + + More actions + + + +
+ + + + + + + + John Brown + + + 82 + + New York No. 8 Lake Park + + + + Action 一 John Brown + + + + Delete + + + + More actions + + + +
+ + + + + + + + John Brown + + + 92 + + New York No. 9 Lake Park + + + + Action 一 John Brown + + + + Delete + + + + More actions + + + +
+ + + + + + + + John Brown + + + 102 + + New York No. 10 Lake Park + + + + Action 一 John Brown + + + + Delete + + + + More actions + + + +
+
+
+ +
+
-
`; @@ -1835,148 +1871,154 @@ exports[`test renders ./components/table/demo/edit-cell.md correctly 1`] = `
`; @@ -1985,123 +2027,129 @@ exports[`test renders ./components/table/demo/edit-row.md correctly 1`] = ` `; @@ -2109,168 +2157,174 @@ exports[`test renders ./components/table/demo/expand.md correctly 1`] = `
-
`; @@ -2278,424 +2332,430 @@ exports[`test renders ./components/table/demo/expand-children.md correctly 1`] =
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- + class="ant-table ant-table-large ant-table-scroll-position-left"> +
- - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - + + + Jimmy Brown + + 16 + + New York No. 3 Lake Park +
+ + + + + + + Joe Black + + 32 + + Sidney No. 1 Lake Park +
+
+
-
+
+
-
`; @@ -2703,361 +2763,367 @@ exports[`test renders ./components/table/demo/fixed-columns.md correctly 1`] = `
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- + class="ant-table ant-table-large ant-table-scroll-position-left"> +
-
- - - - - - - - - - - - - - - - - - - - - -
- - Full Name - - - - Age - -
- - John Brown - - 32 -
- - Jim Green - - 40 -
-
+ class="ant-table-fixed-left"> + +
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + Full Name + + + + Age + +
+ + John Brown + + 32 +
+ + Jim Green + + 40 +
+
+
+
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - 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 - -
- - Jim Green - - 40 - - London Park - - London Park - - London Park - - London Park - - London Park - - London Park - - London Park - - London Park - - - action - -
+ class="ant-table-scroll"> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + 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 + +
+ + Jim Green + + 40 + + London Park + + London Park + + London Park + + London Park + + London Park + + London Park + + London Park + + London Park + + + action + +
+
+
-
-
-
-
-
- - - - - - - - - - - - - - - - - -
- - Action - -
- - action - -
- - action - -
-
+ class="ant-table-fixed-right"> + +
+
+ + + + + + + + + + + + + + + + + +
+ + Action + +
+ + action + +
+ + action + +
+
+
+
-
+
+
-
`; @@ -3065,1078 +3131,1084 @@ exports[`test renders ./components/table/demo/fixed-columns-header.md correctly
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- + class="ant-table ant-table-large ant-table-fixed-header ant-table-scroll-position-left"> +
- - - - - - - - - - - -
- - Full Name - - - - Age - -
+ class="ant-table-fixed-left"> + +
+ + + + + + + + + + + +
+ + Full Name + + + + Age + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Edrward 0 + + 32 +
+ + Edrward 1 + + 32 +
+ + Edrward 2 + + 32 +
+ + Edrward 3 + + 32 +
+ + Edrward 4 + + 32 +
+ + Edrward 5 + + 32 +
+ + Edrward 6 + + 32 +
+ + Edrward 7 + + 32 +
+ + Edrward 8 + + 32 +
+ + Edrward 9 + + 32 +
+
+
+
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Edrward 0 - - 32 -
- - Edrward 1 - - 32 -
- - Edrward 2 - - 32 -
- - Edrward 3 - - 32 -
- - Edrward 4 - - 32 -
- - Edrward 5 - - 32 -
- - Edrward 6 - - 32 -
- - Edrward 7 - - 32 -
- - Edrward 8 - - 32 -
- - Edrward 9 - - 32 -
-
+ class="ant-table-scroll"> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Full Name + + + + Age + + + + Column 1 + + + + Column 2 + + + + Column 3 + + + + Column 4 + + + + Column 5 + + + + Column 6 + + + + Column 7 + + + + Column 8 + + + + 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 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 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 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 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 + +
+
+
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Full Name - - - - Age - - - - Column 1 - - - - Column 2 - - - - Column 3 - - - - Column 4 - - - - Column 5 - - - - Column 6 - - - - Column 7 - - - - Column 8 - - - - 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 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 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 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 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 - -
-
-
-
-
- -
- - - - - - - - - -
- - Action - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - action - -
- - action - -
- - action - -
- - action - -
- - action - -
- - action - -
- - action - -
- - action - -
- - action - -
- - action - -
-
-
-
+
+ +
+ + + + + + + + + +
+ + Action + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + action + +
+ + action + +
+ + action + +
+ + action + +
+ + action + +
+ + action + +
+ + action + +
+ + action + +
+ + action + +
+ + action + +
+
+
+
+
+
+
-
`; @@ -4144,997 +4216,1003 @@ exports[`test renders ./components/table/demo/fixed-header.md correctly 1`] = `
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- + class="ant-table ant-table-large ant-table-fixed-header ant-table-scroll-position-left"> +
- - - - - - - - - - - - - -
- - Name - - - - Age - - - - Address - -
+ class="ant-table-scroll"> + +
+ + + + + + + + + + + + + +
+ + Name + + + + Age + + + + Address + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Edward King 0 + + 32 + + London, Park Lane no. 0 +
+ + Edward King 1 + + 32 + + London, Park Lane no. 1 +
+ + Edward King 2 + + 32 + + London, Park Lane no. 2 +
+ + Edward King 3 + + 32 + + London, Park Lane no. 3 +
+ + Edward King 4 + + 32 + + London, Park Lane no. 4 +
+ + Edward King 5 + + 32 + + London, Park Lane no. 5 +
+ + Edward King 6 + + 32 + + London, Park Lane no. 6 +
+ + Edward King 7 + + 32 + + London, Park Lane no. 7 +
+ + Edward King 8 + + 32 + + London, Park Lane no. 8 +
+ + Edward King 9 + + 32 + + London, Park Lane no. 9 +
+ + Edward King 10 + + 32 + + London, Park Lane no. 10 +
+ + Edward King 11 + + 32 + + London, Park Lane no. 11 +
+ + Edward King 12 + + 32 + + London, Park Lane no. 12 +
+ + Edward King 13 + + 32 + + London, Park Lane no. 13 +
+ + Edward King 14 + + 32 + + London, Park Lane no. 14 +
+ + Edward King 15 + + 32 + + London, Park Lane no. 15 +
+ + Edward King 16 + + 32 + + London, Park Lane no. 16 +
+ + Edward King 17 + + 32 + + London, Park Lane no. 17 +
+ + Edward King 18 + + 32 + + London, Park Lane no. 18 +
+ + Edward King 19 + + 32 + + London, Park Lane no. 19 +
+ + Edward King 20 + + 32 + + London, Park Lane no. 20 +
+ + Edward King 21 + + 32 + + London, Park Lane no. 21 +
+ + Edward King 22 + + 32 + + London, Park Lane no. 22 +
+ + Edward King 23 + + 32 + + London, Park Lane no. 23 +
+ + Edward King 24 + + 32 + + London, Park Lane no. 24 +
+ + Edward King 25 + + 32 + + London, Park Lane no. 25 +
+ + Edward King 26 + + 32 + + London, Park Lane no. 26 +
+ + Edward King 27 + + 32 + + London, Park Lane no. 27 +
+ + Edward King 28 + + 32 + + London, Park Lane no. 28 +
+ + Edward King 29 + + 32 + + London, Park Lane no. 29 +
+ + Edward King 30 + + 32 + + London, Park Lane no. 30 +
+ + Edward King 31 + + 32 + + London, Park Lane no. 31 +
+ + Edward King 32 + + 32 + + London, Park Lane no. 32 +
+ + Edward King 33 + + 32 + + London, Park Lane no. 33 +
+ + Edward King 34 + + 32 + + London, Park Lane no. 34 +
+ + Edward King 35 + + 32 + + London, Park Lane no. 35 +
+ + Edward King 36 + + 32 + + London, Park Lane no. 36 +
+ + Edward King 37 + + 32 + + London, Park Lane no. 37 +
+ + Edward King 38 + + 32 + + London, Park Lane no. 38 +
+ + Edward King 39 + + 32 + + London, Park Lane no. 39 +
+ + Edward King 40 + + 32 + + London, Park Lane no. 40 +
+ + Edward King 41 + + 32 + + London, Park Lane no. 41 +
+ + Edward King 42 + + 32 + + London, Park Lane no. 42 +
+ + Edward King 43 + + 32 + + London, Park Lane no. 43 +
+ + Edward King 44 + + 32 + + London, Park Lane no. 44 +
+ + Edward King 45 + + 32 + + London, Park Lane no. 45 +
+ + Edward King 46 + + 32 + + London, Park Lane no. 46 +
+ + Edward King 47 + + 32 + + London, Park Lane no. 47 +
+ + Edward King 48 + + 32 + + London, Park Lane no. 48 +
+ + Edward King 49 + + 32 + + London, Park Lane no. 49 +
+
+
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Edward King 0 - - 32 - - London, Park Lane no. 0 -
- - Edward King 1 - - 32 - - London, Park Lane no. 1 -
- - Edward King 2 - - 32 - - London, Park Lane no. 2 -
- - Edward King 3 - - 32 - - London, Park Lane no. 3 -
- - Edward King 4 - - 32 - - London, Park Lane no. 4 -
- - Edward King 5 - - 32 - - London, Park Lane no. 5 -
- - Edward King 6 - - 32 - - London, Park Lane no. 6 -
- - Edward King 7 - - 32 - - London, Park Lane no. 7 -
- - Edward King 8 - - 32 - - London, Park Lane no. 8 -
- - Edward King 9 - - 32 - - London, Park Lane no. 9 -
- - Edward King 10 - - 32 - - London, Park Lane no. 10 -
- - Edward King 11 - - 32 - - London, Park Lane no. 11 -
- - Edward King 12 - - 32 - - London, Park Lane no. 12 -
- - Edward King 13 - - 32 - - London, Park Lane no. 13 -
- - Edward King 14 - - 32 - - London, Park Lane no. 14 -
- - Edward King 15 - - 32 - - London, Park Lane no. 15 -
- - Edward King 16 - - 32 - - London, Park Lane no. 16 -
- - Edward King 17 - - 32 - - London, Park Lane no. 17 -
- - Edward King 18 - - 32 - - London, Park Lane no. 18 -
- - Edward King 19 - - 32 - - London, Park Lane no. 19 -
- - Edward King 20 - - 32 - - London, Park Lane no. 20 -
- - Edward King 21 - - 32 - - London, Park Lane no. 21 -
- - Edward King 22 - - 32 - - London, Park Lane no. 22 -
- - Edward King 23 - - 32 - - London, Park Lane no. 23 -
- - Edward King 24 - - 32 - - London, Park Lane no. 24 -
- - Edward King 25 - - 32 - - London, Park Lane no. 25 -
- - Edward King 26 - - 32 - - London, Park Lane no. 26 -
- - Edward King 27 - - 32 - - London, Park Lane no. 27 -
- - Edward King 28 - - 32 - - London, Park Lane no. 28 -
- - Edward King 29 - - 32 - - London, Park Lane no. 29 -
- - Edward King 30 - - 32 - - London, Park Lane no. 30 -
- - Edward King 31 - - 32 - - London, Park Lane no. 31 -
- - Edward King 32 - - 32 - - London, Park Lane no. 32 -
- - Edward King 33 - - 32 - - London, Park Lane no. 33 -
- - Edward King 34 - - 32 - - London, Park Lane no. 34 -
- - Edward King 35 - - 32 - - London, Park Lane no. 35 -
- - Edward King 36 - - 32 - - London, Park Lane no. 36 -
- - Edward King 37 - - 32 - - London, Park Lane no. 37 -
- - Edward King 38 - - 32 - - London, Park Lane no. 38 -
- - Edward King 39 - - 32 - - London, Park Lane no. 39 -
- - Edward King 40 - - 32 - - London, Park Lane no. 40 -
- - Edward King 41 - - 32 - - London, Park Lane no. 41 -
- - Edward King 42 - - 32 - - London, Park Lane no. 42 -
- - Edward King 43 - - 32 - - London, Park Lane no. 43 -
- - Edward King 44 - - 32 - - London, Park Lane no. 44 -
- - Edward King 45 - - 32 - - London, Park Lane no. 45 -
- - Edward King 46 - - 32 - - London, Park Lane no. 46 -
- - Edward King 47 - - 32 - - London, Park Lane no. 47 -
- - Edward King 48 - - 32 - - London, Park Lane no. 48 -
- - Edward King 49 - - 32 - - London, Park Lane no. 49 -
-
- +
+
-
`; @@ -5142,883 +5220,889 @@ exports[`test renders ./components/table/demo/grouping-columns.md correctly 1`]
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- + class="ant-table ant-table-middle ant-table-bordered ant-table-fixed-header ant-table-scroll-position-left"> +
- - - - - - - - - -
- - Name - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - John Brown -
- - John Brown -
- - John Brown -
- - John Brown -
- - John Brown -
- - John Brown -
- - John Brown -
- - John Brown -
- - John Brown -
- - John Brown -
-
-
- -
-
- -
- - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + +
- - Name - - - - - Other - - - - Company - - - - Gender - -
- - Age -
- + class="ant-table-fixed-left"> + +
+ + + + + + + + + +
+ + Name + class="anticon anticon-filter ant-dropdown-trigger" + title="筛选" /> - +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + John Brown +
+ + John Brown +
+ + John Brown +
+ + John Brown +
+ + John Brown +
+ + John Brown +
+ + John Brown +
+ + John Brown +
+ + John Brown +
+ + John Brown +
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + - - - - - - - - - - - - - -
+ + Name + class="anticon anticon-filter ant-dropdown-trigger" + title="筛选" /> - - - - - Address - - - - Company Address - - - - Company Name - -
- - Street - - - - Block - -
- - Building - - - - Door No. - -
+
+ + Other + + + + Company + + + + Gender + +
+ + Age +
+ + + + + + +
+
+
+ + Address + + + + Company Address + + + + Company Name + +
+ + Street + + + + Block + +
+ + Building + + + + Door No. + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + John Brown + + 1 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M +
+ + John Brown + + 2 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M +
+ + John Brown + + 3 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M +
+ + John Brown + + 4 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M +
+ + John Brown + + 5 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M +
+ + John Brown + + 6 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M +
+ + John Brown + + 7 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M +
+ + John Brown + + 8 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M +
+ + John Brown + + 9 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M +
+ + John Brown + + 10 + + Lake Park + + C + + 2035 + + Lake Street 42 + + SoftLake Co + + M +
+
+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - John Brown - - 1 - - Lake Park - - C - - 2035 - - Lake Street 42 - - SoftLake Co - - M -
- - John Brown - - 2 - - Lake Park - - C - - 2035 - - Lake Street 42 - - SoftLake Co - - M -
- - John Brown - - 3 - - Lake Park - - C - - 2035 - - Lake Street 42 - - SoftLake Co - - M -
- - John Brown - - 4 - - Lake Park - - C - - 2035 - - Lake Street 42 - - SoftLake Co - - M -
- - John Brown - - 5 - - Lake Park - - C - - 2035 - - Lake Street 42 - - SoftLake Co - - M -
- - John Brown - - 6 - - Lake Park - - C - - 2035 - - Lake Street 42 - - SoftLake Co - - M -
- - John Brown - - 7 - - Lake Park - - C - - 2035 - - Lake Street 42 - - SoftLake Co - - M -
- - John Brown - - 8 - - Lake Park - - C - - 2035 - - Lake Street 42 - - SoftLake Co - - M -
- - John Brown - - 9 - - Lake Park - - C - - 2035 - - Lake Street 42 - - SoftLake Co - - M -
- - John Brown - - 10 - - Lake Park - - C - - 2035 - - Lake Street 42 - - SoftLake Co - - M -
+ class="ant-table-fixed-right"> + +
+ + + + + + + + + +
+ + Gender + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ M +
+ M +
+ M +
+ M +
+ M +
+ M +
+ M +
+ M +
+ M +
+ M +
+
+
+
-
-
-
- -
- - - - - - - - - -
- - Gender - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- M -
- M -
- M -
- M -
- M -
- M -
- M -
- M -
- M -
- M -
-
-
-
+
+
-
`; @@ -6026,197 +6110,203 @@ exports[`test renders ./components/table/demo/head.md correctly 1`] = `
-
`; @@ -6224,238 +6314,244 @@ exports[`test renders ./components/table/demo/jsx.md correctly 1`] = `
-
`; @@ -6463,225 +6559,231 @@ exports[`test renders ./components/table/demo/nested-table.md correctly 1`] = ` `; @@ -6714,197 +6816,203 @@ exports[`test renders ./components/table/demo/reset-filter.md correctly 1`] = `
-
`; @@ -6913,240 +7021,246 @@ exports[`test renders ./components/table/demo/row-selection.md correctly 1`] = `
- `; @@ -7168,459 +7282,465 @@ exports[`test renders ./components/table/demo/row-selection-and-operation.md cor
+ class="ant-spin-nested-loading">
+ class="ant-spin-container">
- + class="ant-table ant-table-large ant-table-scroll-position-left"> +
- - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
- - + + Edward King 6 + + 32 + + London, Park Lane no. 6 +
+ + + + + + Edward King 7 + + 32 + + London, Park Lane no. 7 +
+ + + + + + Edward King 8 + + 32 + + London, Park Lane no. 8 +
+ + + + + + Edward King 9 + + 32 + + London, Park Lane no. 9 +
+
+
-
+
+
- `; @@ -7633,128 +7753,134 @@ exports[`test renders ./components/table/demo/size.md correctly 1`] = `
-

Small size table @@ -7762,128 +7888,134 @@ exports[`test renders ./components/table/demo/size.md correctly 1`] = `
-
`;