I'm sure this is a really dumb question, but I've spent an hour googling, with no luck.
I'm storing spreadsheet data (some text, some dates) in various widgets. At some point, a click handler has to read back the text or the date from the widget, and write it out to another spreadsheet. Currently, I've got the data in a FlexTable (or in a Label widget in the FlexTable). I've now found out (I think) that there's no way to read back this data.
Any ideas how I'm meant to handle this? I just need a widget that will let me store data, display it, and later read it back.
Thanks.
EDIT
I don't think the answers have actually got me any further forward. I appreciate that I can read the value of some widgets if they're passed to the handler as a callback. However, this appears to be restricted to ones with a setName
method - is this just TextBox
and ListBox
? If so, that's no use, because TextBox
is for user entry.
So, is there a widget that will let me (the script, not the user) store data, and later read it back? Or am I just being thick?