Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 27th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Javascript, HTML, and iFrames
  2. for (var i = 0; i < grid.contentWindow.GetRowCount(); i++)
  3. {
  4. Numof = grid.contentWindow.GetSingleColumnValue(i, 'info').replace(re, "");  
  5. total =  parseFloat(Numof) - total;
  6.        
  7. CF_SetFieldValue("Printed_Field", dec_ToDecimalValue(total.toString(), 2));