diff options
Diffstat (limited to 'uploader/static/js/populations.js')
-rw-r--r-- | uploader/static/js/populations.js | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/uploader/static/js/populations.js b/uploader/static/js/populations.js index be1231f..89ededa 100644 --- a/uploader/static/js/populations.js +++ b/uploader/static/js/populations.js @@ -13,9 +13,24 @@ $(() => { } }, { + searchable: true, data: (apopulation) => { return `${apopulation.FullName} (${apopulation.InbredSetName})`; } } - ]); + ], + { + select: "single", + paging: true, + scrollY: 700, + deferRender: true, + scroller: true, + scrollCollapse: true, + layout: { + topStart: "info", + topEnd: "search", + bottomStart: "pageLength", + bottomEnd: false + } + }); }); |