Skip to content

Commit a0afa62

Browse files
committed
update header group example
1 parent 1938d05 commit a0afa62

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

examples/src/docs/en/ve-table/header-grouping/grouping-header-fixed-column.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,18 @@
6767
},
6868
],
6969
},
70-
{ field: "col7", key: "g", title: "col7", width: 50, fixed: "right" },
70+
{
71+
title: "col7",
72+
fixed: "right",
73+
children: [
74+
{
75+
title: "col7-1",
76+
field: "col7",
77+
key: "g",
78+
width: 50,
79+
},
80+
],
81+
},
7182
{ field: "col8", key: "h", title: "col8", width: 50, fixed: "right" },
7283
],
7384
tableData: [],

examples/src/docs/zh/ve-table/header-grouping/grouping-header-fixed-column.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,18 @@
6767
},
6868
],
6969
},
70-
{ field: "col7", key: "g", title: "col7", width: 50, fixed: "right" },
70+
{
71+
title: "col7",
72+
fixed: "right",
73+
children: [
74+
{
75+
title: "col7-1",
76+
field: "col7",
77+
key: "g",
78+
width: 50,
79+
},
80+
],
81+
},
7182
{ field: "col8", key: "h", title: "col8", width: 50, fixed: "right" },
7283
],
7384
tableData: [],

0 commit comments

Comments
 (0)