Not auto-calculated spreadsheet columns
Confluence User - 17 Oct, 2018
Hallo experts,
I need to auto-calculated several columns in my spreadsheet form but never succeed. I tried put this script in Custom Settings (JSON) to trigger one column (i have 20 calculated columns ) but nothing happened :
{ "afterInit" : function() { var ht = this; var rows = ht.countRows(); if (rows > 0) { var changes = []; for (var i = 0; i < rows; i++) { changes[i] = [i, "calculated_column", "", ""]; } //prepare changes to trigger the calculation ht.runHooks("afterChange", changes, "edit"); } }}Any other solution ?
forms;spreadsheet