public function setAutoGenerateColumns($value) { $this->setViewState('AutoGenerateColumns', TPropertyValue::ensureBoolean($value), true); }