The solution con depend on how you fill the grid (which datatype
you use).
One possible implementation could be the usage of custom formatter. In the way the column C will not contains any input data, but you can use custom formatter to display the calculated value based on the values of two other columns. See the answer for more details.
If you loads the data from the server you can use beforeProcessing
callback alternatively. The callback will be called after receiving the data from the server, but before the data will be processed by jqGrid. It allows you to modify the data returned from the server. You can for example include additional data for the column C based on the values from the columns A and B. See the answer for the more details.