-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved support for server side tables, version bump
- Loading branch information
Adrian Salceanu
committed
Sep 2, 2024
1 parent
6dff1f2
commit 545a0a2
Showing
5 changed files
with
56 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,29 @@ | ||
table(:dt1, | ||
paginationsync = Symbol("dt1.pagination"), | ||
@on("request", :paginate_dt1), | ||
server_side = true, | ||
loading = :loading, | ||
filter = Symbol("dt1.filter"), | ||
title = "Random big data" | ||
title = "Server side data" | ||
) | ||
table(:dt2, | ||
paginationsync = Symbol("dt2.pagination"), | ||
loading = :loading, | ||
filter = Symbol("dt2.filter"), | ||
title = "Random small data" | ||
) | ||
title = "Client side data" | ||
) | ||
|
||
# ParsedHTMLString(""" | ||
# <q-table | ||
# row-key="__id" | ||
# :loading="loading" | ||
# :columns="dt2.columns" | ||
# title="Random data" | ||
# :data="dt2.data" | ||
# :filter="dt2.filter" | ||
# :pagination.sync="dt2.pagination" | ||
# v-model="dt2"> | ||
# <template v-slot:top-right> | ||
# <q-input dense debounce="300" v-model="dt2.filter" placeholder="Search"> | ||
# <template v-slot:append> | ||
# <q-icon name="search" /> | ||
# </template> | ||
# </q-input> | ||
# </template> | ||
# </q-table> | ||
# """) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters