felt 发表于 2014-4-23 11:40 列4列5你既然是自动填充的,为什么还要修改 修改完还是会触发drawcell绘制的 ...
yangfei_wow 发表于 2014-4-23 12:13 而且在里面没有用到drawcell事件呀
felt 发表于 2014-4-23 13:12 那你列4,列5怎么计算的
yangfei_wow 发表于 2014-4-23 13:23 在CellBeginEdit事件里 if(field==='列4'){ e.editor.setValue(列1/列2); //假设是这种简单的算法
felt 发表于 2014-4-23 15:29 你做个重现的简单html页面上来,我们看下
yangfei_wow 发表于 2014-4-23 16:17 发到楼下了 您看下 字数原因 分成两个贴了
lost 发表于 2014-4-23 16:46 测试了你的代码,没有发现你说的情况?
yangfei_wow 发表于 2014-4-23 17:05 先填上前两个带星的 数量 含税单价 然后 后面都算出来啦 然后再 把折扣率改成 5 试试看有不 ...
lost 发表于 2014-4-23 17:42 在“实际含税单价”中设置 加e.editor.setValue(price);试试。看看是否可以