Support custom currency formats

This commit is contained in:
flynsarmy 2014-07-31 10:05:13 +10:00
parent 12a7d07774
commit eea0a5e7c7
1 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ class Grid extends WidgetBase
case 'currency':
$item['type'] = 'numeric';
$item['format'] = '$0,0.00';
$item['format'] = isset($column['format']) ? $column['format'] : '$0,0.00';
break;
case 'checkbox':
@ -258,4 +258,4 @@ class Grid extends WidgetBase
$this->addJs('js/datagrid.js', 'core');
}
}
}