I need clarification on arguments of afterChange callback.
1st argument is array of tuples: [number, string | number, CellValue, CellValue]
where 2nd item of a tuple is string or number.
I reckon when it is a number β then it is the column index.
Q: What is is when 2nd item is a string?
Q: How do I control what is returned in 2nd argument?
You can also create a custom value and get it as the 2nd parameter of the afterChange hook. It happens if you define all parameters of the setDataAtCell function, example https://jsfiddle.net/7x0ga94e/