From d533f39b6fa798e238810d17e928dee75d5b1af7 Mon Sep 17 00:00:00 2001
From: yumenghui <953181891@qq.com>
Date: 星期五, 11 八月 2023 16:02:17 +0800
Subject: [PATCH] 备注添加改造
---
force-app/main/default/lwc/paginatedList/paginatedList.html | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/lwc/paginatedList/paginatedList.html b/force-app/main/default/lwc/paginatedList/paginatedList.html
index 2f7fc61..1d8c816 100644
--- a/force-app/main/default/lwc/paginatedList/paginatedList.html
+++ b/force-app/main/default/lwc/paginatedList/paginatedList.html
@@ -6,6 +6,7 @@
<div class="table-container">
<lightning-datatable
key-field="id"
+ class="wrapped-header-datatable"
data={records}
columns={columns}
sorted-by={sortBy}
@@ -27,6 +28,16 @@
record-end={recordEnd}
total-records={totalRecords}
></c-paginator>
+ <lightning-datatable
+ key-field="id"
+ class="wrapped-header-datatable"
+ data={records}
+ columns={columns}
+ sorted-by={sortBy}
+ sorted-direction={sortDirection}
+ onsort={doSorting}
+ >
+ </lightning-datatable>
</template>
<template if:true={error}>
<c-error-panel errors={error}></c-error-panel>
--
Gitblit v1.9.1