Populating Table entries

Is there a sink/way by which I can populate second column of the table component by taking corresponding values from first column?

Something like for any specific function, when students enter the input in the first column, the output is generated in the next column.

Thanks

From what I understand (and I may just not know), its impossible to do all at once but you can do it cell by cell using cellContent.

cellContent(1,2):"${f.evaluateAt(table2.cellNumericValue(1,1))}"
f=simpleFunction(β€œx+2”)

1 Like

Thanks! It’s working now!