pagination-table #33

Merged
TorstenHettstedt merged 4 commits from pagination-table into master 2025-06-27 12:36:05 +02:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 0e1244c02f - Show all commits
+1 -2
View File
@@ -1,7 +1,6 @@
<script lang="ts">
let {promise_data, actual_records= $bindable()} = $props();
let {promise_data, actual_records= $bindable(), page_count = 10} = $props();
let records: Array<any[]> = $state([])
const page_count = $state(5)
let page_number = $state(0)
let max_page_number = $state(0)
const setPage = (new_page: number) => {
+1 -1
View File
@@ -77,7 +77,7 @@
<tfoot>
<tr>
<td colspan="4">
<TablePagination promise_data={records} bind:actual_records={actual_records}/>
<TablePagination promise_data={records} bind:actual_records={actual_records} page_count={15}/>
</td>
</tr>
</tfoot>