xsanisty / calx.js

jQuery Calx - a jQuery plugin for creating formula-based calculation form
http://www.xsanisty.com/project/calx2
MIT License
198 stars 72 forks source link

The cell formula is undefined after call sheet.update method. #26

Open huangbo74 opened 8 years ago

huangbo74 commented 8 years ago

Hi, Please check cell.fx.recyncFormula function. the code below this.formula = this.el.attr('data-formula'); will set this.formula as undefined if the element doesn't contain data-formula.

 However the undefined value is not able to clear the cell processed flag. 

in sheet.fx.clearProcessFlag function, only the formula properties is false of cell will be marked as processed and and not affected:

Thanks, Bo