protected function getIsEnabled($column, $record) { return !($this->getParent()->getRecordPk() !== null && $column->getIsPrimaryKey() || $column->hasSequence()); }