I'm trying to display large number in dataGrid of SonataAdminBundle like this :
290200920181218
It's well displayed in my form but not in the dataGrid :
I need to display it without the forcing a specific number format and I have no clue how to force that. There is no special sonataField type for this kind of number or arguments to pass.
EDIT (@Amira Bedhiafi)
Entity
/**
* @ORM\Column(type="float")
*
* @var float
*/
private $paiementId;
Datagrid:
protected function configureListFields(ListMapper $listMapper) {
$listMapper->add('paiementId', 'number', array('label' => 'Référence de paiement'))
;
}