Skip to content

Commit

Permalink
🐛 #7 fix DataGridColumn
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Jul 21, 2020
1 parent 7de331c commit 4d750b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/control/forms/UfForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ public function __construct()

// add the columns
$col_id = new TDataGridColumn('cod_uf', 'Cod', 'right', '10%');
$col_name = new TDataGridColumn('nom_uf', 'Nome');
$sig_uf = new TDataGridColumn('sig_uf', 'Sigla');
$cod_regiao = new TDataGridColumn('regiao->nom_regiao', 'Região');
$col_name = new TDataGridColumn('nom_uf', 'Nome','left');
$sig_uf = new TDataGridColumn('sig_uf', 'Sigla','left');
$cod_regiao = new TDataGridColumn('regiao->nom_regiao', 'Região','left');

$this->datagrid->addColumn($col_id);
$this->datagrid->addColumn($col_name);
Expand Down

0 comments on commit 4d750b0

Please sign in to comment.