Skip to content

Commit a0d27ea

Browse files
authored
table: change tasks per page values (#1124)
* change default from 10 to 50 * add options for 50, 100 & 200 items per page.
1 parent 8c27cce commit a0d27ea

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ ones in. -->
1313

1414
## __cylc-ui-1.4.0 (<span actions:bind='release-date'>Pending</span>)__
1515

16+
### Enhancements
17+
18+
[#1124](https://github.com/cylc/cylc-ui/pull/1075) - Table view: More options
19+
for number of tasks per page.
20+
1621
### Fixes
1722

1823
[#1075](https://github.com/cylc/cylc-ui/pull/1075) - Reverse default sort order

src/components/cylc/table/Table.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
109109
:sort-desc.sync="sortDesc"
110110
item-key="id"
111111
show-expand
112+
dense
113+
:footer-props="{
114+
itemsPerPageOptions: [10, 20, 50, 100, 200, -1],
115+
showFirstLastPage: true
116+
}"
117+
:options="{ itemsPerPage: 50 }"
112118
>
113119
<template
114120
v-slot:item="{ item }"

0 commit comments

Comments
 (0)