public function formatAttribute($attributeName, $value, $html = false)
 {
     if (isset($this->columns[$attributeName]['customfield'])) {
         $field = $this->columns[$attributeName]['customfield'];
         //$attributes = $this->getAttributes('raw');
         if ($html) {
             return $field->customfieldtype->formatDisplay($attributeName, $this->_attributes, $this);
         } else {
             return $field->customfieldtype->formatFormOutput($attributeName, $this->_attributes, $this);
         }
     }
     return parent::formatAttribute($attributeName, $value, $html);
 }