code: function (element) {
        var allDependencies = instance.matrix.getElementDependencies(element),
            id = element.getAttribute('id');
  
        allDependencies.forEach(function (refId) {
          var item = instance.matrix.getItem(refId);
          if (item && item.formula) {
            var refElement = document.getElementById(refId);
            calculateElementFormula(item.formula, refElement);
          }
        });
      }
docs: recalculate refs cell
  @param {Element} element