You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/* global document, grist, window */
|
|
|
|
function setup() {
|
|
grist.ready();
|
|
grist.allowSelectBy();
|
|
document.querySelector('#rowIds').addEventListener('change', (ev) => {
|
|
const rowIds = ev.target.value.split(',').map(Number);
|
|
grist.setSelectedRows(rowIds);
|
|
});
|
|
}
|
|
|
|
window.onload = setup;
|