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.
gristlabs_grist-core/test/fixtures/sites/filter/page.js

14 lines
299 B

/* 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;