webix’s datatable widget supports math, and is that a way to using FormulaJS?
Yep, you can include formula.js on the page and use its methods in the formulas
windows.f = require("logical.js");
//and later in webix config
{ id:"diff", header: "Deficit/surplus", width: 180, math:"f.OR([$r,:2], [$r,:3])"},
],
math: true,
if you move all methods in the global scope, you will be able to use the operation names without prefix ( without “f.” )
Thanks a lot!