mirror of
https://github.com/hkalexling/Mango.git
synced 2026-01-24 00:03:14 -05:00
@@ -146,17 +146,17 @@ const component = () => {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
selectAll() {
|
selectAll() {
|
||||||
$('tbody > tr').each((i, e) => {
|
$('tbody#selectable > tr').each((i, e) => {
|
||||||
$(e).addClass('ui-selected');
|
$(e).addClass('ui-selected');
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
clearSelection() {
|
clearSelection() {
|
||||||
$('tbody > tr').each((i, e) => {
|
$('tbody#selectable > tr').each((i, e) => {
|
||||||
$(e).removeClass('ui-selected');
|
$(e).removeClass('ui-selected');
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
download() {
|
download() {
|
||||||
const selected = $('tbody > tr.ui-selected').get();
|
const selected = $('tbody#selectable > tr.ui-selected').get();
|
||||||
if (selected.length === 0) return;
|
if (selected.length === 0) return;
|
||||||
|
|
||||||
UIkit.modal
|
UIkit.modal
|
||||||
|
|||||||
Reference in New Issue
Block a user