add formula to column

I would like to statically add a formula to a column. What file would I need to edit and how would I go about doing this.

For ex. I add numbers to column A, column B will automatically display the number in A + 123.

Thanks,

Please, try to use:
myGrid.setHeader(“A,B”);
myGrid.setColTypes(“ed,ed[=c0+123]”);