public function init()
{
if ($this->form !== null && !$this->form instanceof ActiveForm) {
throw new InvalidConfigException('Property "form" must be an instance of yii\\widgets\\ActiveForm');
}
$this->guessColumns();
$this->initData();
parent::init();
}