src/DatagridFactory.php
public function createColumn(string $name, string $type, array $options = []): ColumnInterface
    {
        $type = $this->typeRegistry->getType($type);

        $column = $type->createColumn($name, $options);

        // Explicitly call buildType() in order to be able to override either
        // createColumn() or buildType() in the resolved column type.
        $type->buildType($column, $column->getOptions());

        return $column;
    }
public function createColumn(string $name, string $type, array $options = []): ColumnInterface
    {
        $type = $this->typeRegistry->getType($type);

        $column = $type->createColumn($name, $options);

        // Explicitly call buildType() in order to be able to override either
        // createColumn() or buildType() in the resolved column type.
        $type->buildType($column, $column->getOptions());

        return $column;
    }
{@inheritdoc}