Closed agencefacton closed 9 years ago
You can set it up in beforeFilter()
method:
public function beforeFilter() {
parent::beforeFilter();
$this->DataTable->settings['Badge']['columns'] = [
'id' => __('Id'),
// ...
];
}
it works perfectly, thank you!
Hello,
i have a problem if i want to traduce the column names with __() in my controller settings