File: legacy/php-build/include/sheet/callFunction.js

Recommend this page to a friend!
  Packages of ikhsan   jQuery Calx   legacy/php-build/include/sheet/callFunction.js   Download  
File: legacy/php-build/include/sheet/callFunction.js
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: jQuery Calx
Calculate form input values based on formulas
Author: By
Last change:
Date: 3 months ago
Size: 511 bytes
 

Contents

Class file image Download
sheet.fx.callFunction = function(functionName, params){ //console.log('<==== calling function '+functionName+' ====>'); //console.log(params); var category, func; func = functionName.toUpperCase(); if(typeof(formula[func]) == 'function'){ return formula[func].apply(this, params); } for(category in formula){ if(typeof(formula[category][func]) == 'function' ){ return formula[category][func].apply(this, params); } } return '#NAME?' };