Clicking an empty table cell does not set a variable

I have my app set up in such a way that clicking on a table cell is supposed to set a variable, and this works great as long as the table cell isn't empty. If the cell is empty then the variable does not get set. Is that how it is supposed to work?

Can you add logic to say that if cell value is null...then set variable?

Hi @tomm,

For the 'on-cell-click-event' are you running a script, where you pass a value into the .setValue() method?

If you could share a screen shot of the code that would be helpful.

I believe that is correct behavior but can double check. In my mind, if the value is null/empty then you may need to explicitly pass the data you want stored into the variable.