diff options
author | Frederick Muriuki Muriithi | 2025-07-01 11:59:05 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-07-01 11:59:05 -0500 |
commit | 151358c5fcc8771f558f93497e6ae88bfa708294 (patch) | |
tree | 69c956b7038de4d90a6f9d9c7df2821cdaaed129 /uploader/static/js/species.js | |
parent | 6042b313019815c8bc7be552c4e111ccc224c9a7 (diff) | |
download | gn-uploader-151358c5fcc8771f558f93497e6ae88bfa708294.tar.gz |
Enable scrolling and paging for both species and populations.
Diffstat (limited to 'uploader/static/js/species.js')
-rw-r--r-- | uploader/static/js/species.js | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/uploader/static/js/species.js b/uploader/static/js/species.js index 9ea3017..d42e081 100644 --- a/uploader/static/js/species.js +++ b/uploader/static/js/species.js @@ -16,5 +16,19 @@ $(() => { return `${aspecies.FullName} (${aspecies.SpeciesName})`; } } - ]); + ], + { + select: "single", + paging: true, + scrollY: 700, + deferRender: true, + scroller: true, + scrollCollapse: true, + layout: { + topStart: "info", + topEnd: "search", + bottomStart: "pageLength", + bottomEnd: false + } + }); }); |