protected function getCellValue(Model $row, $decorator) { if (!$this->value) { return parent::getCellValue($row, $decorator); } else { return $this->value; } }
public function getCustomCellAttributes(Model $row) { $attributes = parent::getCustomCellAttributes($row); $attributes["data-value"] = json_encode($this->presenter->FetchBoundData()); return $attributes; }