Posted 28 February 2019, 4:53 pm EST
Hello,
It seems like there is sample code on how to set cell values using javascript, and it works for plaintext and checkboxes just fine. However, I haven’t been able to set the value of a select dropdown through javascript, unless I modify it manually through the UI first.
Is there any sample code on how to do this using SpreadJS 10?
I’ve tried many combinations of
sheet.setActiveCell
sheet.startEdit
sheet.getCell.value
sheet.getCell.text
sheet.setValue
but I always have to change the value using the UI first, then I can just call the set methods directly.
Also, is there a function that returns a boolean describing whether a cell is editable through the UI?
Thanks!