Commit 7c520248 by Qiang Xue

message fix. [skip ci]

parent a5e3e469
......@@ -447,7 +447,7 @@ class GridView extends BaseListView
}
/**
* This function tries to guesses the columns to show from the given data
* This function tries to guess the columns to show from the given data
* if [[columns]] are not explicitly specified.
*/
protected function guessColumns()
......@@ -459,7 +459,7 @@ class GridView extends BaseListView
$this->columns[] = $name;
}
} else {
throw new InvalidConfigException('Unable to generate columns from data.');
throw new InvalidConfigException('Unable to generate columns from the data. Please manually configure the "columns" property.');
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment