javascript - Extjs EditorGrid Cell calculation dependency -
im working on writing calculation functionality add dependencies on 1 or more cells different formula's (dynamically supplied formula's) on edit of cell's value.
eg: if there 4 cells a,b,c,d formula's a=(editable), b=(a+d), c=(50), d=(a*c/100)
where "c" constant. "b" , "d" dependent on edit of "a". wise can supply number of dependencies on "a" more constants , cells formula.
i wrote temporary work around evaluate fixed cells formulas there way handle dynamically supplied formulas? , can 2 way sync?
please suggest. thanks
Comments
Post a Comment