public function getValue($formatted = true)
    {
        // need to ensure that value are retrieved from source/cache
        //if ($this->getDataObj()->CheckDataRetrieved() == false)    	
        //$this->getDataObj()->getActiveRecord();

        if ($this->_prevValue == $this->value) {
            return $this->_getValueCache;
        }
        //$value = stripcslashes($this->value);
        $value = $this->value;
        if ($this->valueExpression && trim($this->column) == "") {
            $value = Expression::evaluateExpression($this->valueExpression, $this->getDataObj());
        }
        if ($this->format && $formatted) {
            $value = Openbizx::$app->getTypeManager()->valueToFormattedString($this->type, $this->format, $value);
        }
        $this->_prevValue = $this->value;
        $this->_getValueCache = $value;
        return $value;
    }