Browse Source

auto formula detect

Nicolas Cannasse 4 years ago
parent
commit
2de23c3398
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hide/comp/cdb/Formulas.hx

+ 1 - 1
hide/comp/cdb/Formulas.hx

@@ -127,7 +127,7 @@ class Formulas {
 	}
 
 	public inline function has(c:Cell) {
-		return Reflect.field(c.line.obj, c.column.name+"__f") != null;
+		return Reflect.field(c.line.obj, c.column.name+"__f") != null || (c.column.editor != null && (c.column.editor:Editor.EditorColumnProps).formula != null);
 	}
 
 	public function removeFromValue( obj : Dynamic, c : cdb.Data.Column ) {