Skip to content

Commit 71840a4

Browse files
authored
Merge pull request #580 from wenzhixin/feature/add-print-extension-tests
Add print extension test pages
2 parents 8c329c5 + eed7479 commit 71840a4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

for-tests/extensions/print/print-printIgnore.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414

1515
<table
1616
id="table"
17-
data-show-print="true">
17+
data-show-print="true"
18+
data-show-footer="true">
1819
<thead>
1920
<tr>
2021
<th data-field="id">ID</th>
2122
<th data-field="name">Name</th>
22-
<th data-field="price" data-print-ignore="true">Price</th>
23+
<th data-field="price" data-print-ignore="true" data-footer-formatter="totalFormatter">Price</th>
2324
</tr>
2425
</thead>
2526
</table>
@@ -34,4 +35,6 @@
3435
]
3536
})
3637
}
38+
39+
window.totalFormatter = data => 'Total'
3740
</script>

0 commit comments

Comments
 (0)