protected function guessColumns()
{
if (empty($this->columns)) {
$column = ['name' => $this->hasModel() ? $this->attribute : $this->name, 'type' => MultipleInputColumn::TYPE_TEXT_INPUT];
if ($this->enableGuessTitle && $this->hasModel()) {
$column['title'] = $this->model->getAttributeLabel($this->attribute);
}
$this->columns[] = $column;
}
}