protected function resolveFieldValue($name, $row, Fluent $control)
    {
        $value = null;
        $model = data_get($row, $name);
        if (!is_null($model)) {
            $value = $model;
        }

        if (is_null($control->get('value'))) {
            return $value;
        }

        $value = $control->get('value');
        if ($value instanceof Closure) {
            $value = $value($row, $control);
        }

        return $value;
    }