Custom Field Renderer - To do Simple Calculations

Moshe: I appologize.  I thought I answered your question yesterday and now I see no evidence of my reply.  It must have gotten lost in the ether of the internet.  Dang!

You can absolutely do a field rendered that does math separately on every row in a table. 

The snippent brings with it two arguments,  0 is the field and 1 is the Value for the field you selected from your model. 
But the Field argument has a row extension.  This can be traversed to bring in data from other fields that are on that row.  Code might look like this: 

var field = arguments[0]; var value1 = arguments[1]; var row = field.row; var value2 = row.FieldName;


For a specific row in the table, value1 will be the field you selected from the model,  and value2 will be the secondary field you want to interact with.  Both values will be specific to the row of the table.   From there it would be trivial to do somthing like

value = value1/value2;<br>skuid.ui.fieldRenderers.DOUBLE[field.mode](field, value.toFixed(2));&nbsp;<br>

Hope this helps.