public function getColumnLabel($column, $table)
    {
        /** @var \yii\db\ActiveRecord $model */
        $model = $this->_currentModel;
        /** @var Module $module */
        $module = $this->module;
        if (isset($model->attributeLabels()[$column])) {
            return $model->attributeLabels()[$column];
        } elseif ($module->tables[$table]['relations'][$column]['label']) {
            return $module->tables[$table]['relations'][$column]['label'];
        } else {
            return $column;
        }
    }