protected function checkPropertyStringOrCallable($property, $name)
	{
		if (!is_string($property) && !is_callable($property) && $property !== null) {
			throw new DataGridException(
				"Action {$name} has to be either string or a callback returning string"
			);
		}
	}