protected function createBooleanControl($container, $column, $record) { $value = $this->getRecordPropertyValue($column, $record); $control = new TCheckBox(); $control->setChecked(TPropertyValue::ensureBoolean($value)); $control->setCssClass('boolean-checkbox'); $this->setDefaultProperty($container, $control, $column, $record); return $control; }