add selectable to tabledownload in studentList

This commit is contained in:
ma0068
2026-06-30 14:28:12 +02:00
parent 9948060ed8
commit 9bc9e57deb
2 changed files with 5 additions and 5 deletions
@@ -283,7 +283,6 @@ export default {
};
});
},
//TODO(Manu) check: replace download or additional entry?
downloadConfig() {
return {
csv: {
@@ -292,8 +291,9 @@ export default {
options: {
delimiter: ';',
bom: true,
}
}
},
rowRange: this.selectedcount > 0 ? "selected" : "all",
},
};
},
fileString() {
@@ -650,7 +650,7 @@ export default {
// TODO(chris): focusin, focusout, keydown and tabindex should be in the filter component
// TODO(chris): filter component column chooser has no accessibilty features
template: `
<div class="stv-list h-100 pt-3">
<div class="stv-list h-100 pt-3">
<div
class="tabulator-container d-flex flex-column h-100"
:class="{'has-filter': filter.length}"
@@ -202,7 +202,7 @@ export default {
return true;
},
download(config) {
this.tabulator.download(config.formatter, config.file, config.options)
this.tabulator.download(config.formatter, config.file, config.options, config.rowRange)
}
},
template: `