Bestimmung der Zeilenanzahl hinzufügen
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user